Here’s a DQL to get a listing of Documents along with their folderpaths in the repository:
select fld.r_folder_path,
doc.r_object_id,
doc.object_name, doc.r_content_size, doc.acl_name, doc.r_creation_date, doc.r_modify_date, doc.r_creator_name, doc.title, doc.subject, doc.keywords
from dm_document doc, dm_folder fld
where
folder('/<CABINET_NAME>', descend) and
fld.r_object_id = doc.i_folder_id
and any r_folder_path is not nullstring
enable (ROW_BASED)
Leave a comment