Wednesday, February 8, 2012 14:10

Locate the rendition files

Tagged with:
Posted by on Tuesday, March 30, 2010, 0:44
This news item was posted in Documentum category and has 0 Comments so far.

To find the path to the contents file of a rendition of a document, issue the following query from the dql editor. The example query below locates the contents for the pdf rendition of a file named ‘Original’. To find other types of renditions, insert the appropriate format into this query.

select r_object_id as the_id from dmr_content where any i_rendition !=0 and format in (select r_object_id from dm_format where name=’pdf’) and any parent_id in (select r_object_id from dm_document where object_name=’Original’)

You can then find the path to this object by issuing the following API commands:

apply,c,<r_object_id returned above>,GET_PATH
next,c,q0
get,c,q0,result

This article is from PowerLink.

Leave a Reply

You can leave a response, or trackback from your own site.