How we can make content server re create renditions for an object using DFC or DQL?
Options
Comments
-
DFC :
Interface IDfSysObject
addRendition
void addRendition(String fileName, String formatName) throws DfException
- Adds a new rendition to the object. This operation is not committed until a
save
orcheckin
is performed.The following code example demonstrates how to add a Word Perfect rendition to the sysobject:
IDfSysObject sysObj = (IDfSysObject)session.getObjectByQualification("dm_document where r_object_id='0900d5bb8001f900'");
sysObj.addRendition("chap_1.wp7", "wp7");
sysObj.save();
- Parameters:
fileName
- specifies the file that contains the content.formatName
- specifies the content's file format.- Throws:
<a href="" title="class in com.documentum.fc.common">DfException</a>
- if a server error occurs
Refer : DFC API for more information.
- Prabhu
0 - Adds a new rendition to the object. This operation is not committed until a
Categories
- All Categories
- 108 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management