How can I find the document-name when I know the storage-path on the content-server?
Best Answer
-
The easiest thing I know to do is to run the dm_FileReport job. When the job finishes, open the report and search for that directory path. That will link you up with the Folder and document in Documentum for that file.
If you really want to be a glutton for punishment you can look at the code for the FileReport job and try to rebuild the data ticket from the physical file path. You could then query the dmr_content objects to see which one has that data ticket and what the parent_id is. That parent_id is then the object_id of your suspect document.
Happy sleuthing!
Christine
0
Answers
-
The easiest thing I know to do is to run the dm_FileReport job. When the job finishes, open the report and search for that directory path. That will link you up with the Folder and document in Documentum for that file.
If you really want to be a glutton for punishment you can look at the code for the FileReport job and try to rebuild the data ticket from the physical file path. You could then query the dmr_content objects to see which one has that data ticket and what the parent_id is. That parent_id is then the object_id of your suspect document.
Happy sleuthing!
Christine
0 -
1. Convert to hex number from file path
\80\05\ff\c2.txt -> 8005ffc22. Convert to a binary number:
8005ffc2 -> 100000000000010111111111110000103. Invert the value and add + 1
10000000000001011111111111000010 -> 011111111111101000000000001111104. Convert the value to decimal and add negative decimal sign
01111111111110100000000000111110 -> 2147090494 -> -21470904945. Execute the following DQL with the above data ticket value
DQL> select ALL parent_id from dmr_content where data_ticket='<the data ticket>'
DQL> select object_name, i_folder_id from dm_document where r_object_id='<parent_id from above>'0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 102 General Questions
- 123 Services
- 40 OpenText Hackathon
- 33 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 901 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 127 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax