how to change the primary rendition or a document
Hi All,
We have loaded multiple format of the document as rendition and sometimes the primary content type is not pdf but it is stored as secondary rendition of the object. We would like to make PDF (if it exist) as primary and the other content type (if exist) as secondary.
How do I achieve that?
Thanks
Comments
-
Hi Bhavik,
I faced similar issue and many times primary rendition was coming as pdf which was just opposite to what we expected.
- Refer the link for EMC Support answers(not a solution), then my final solution,
Original Implementation was discussed in the thread
Let me know if it helps or resolves your query
Kind Regards,
Ashish Srivastava
0 -
HI Ashish,
Thanks for the reply. The discussion talked about exporting the rendition. My requirement is: We already have two or more type of content associated with the object
for e.g The object_name: SOP will have two types of content PDF and Word associated with it. one of them will be primary and the other is PDF.
I want to change the PDF to be primary and the other to be secondary rendition
0 -
Hope it helped to get the basic understanding. Let me explain again,
There is nothing as primary or secondary rendition. It is all how you name it.
EMC code iterates through the collection returned using IDfSysObject.getRenditions API
The first item returned is rendition[1], second is rendition[2] and so on so forth.
Many times it happens is that the word document may contain too many images inserted or any other objects so it takes time to generate the rendition. Whatever post processing you need to do on renditions - you can do by getting the rendition object using above API and then checking the a_content_type of it.
Coming back to your requirement - I do not know why you want to make the PDF rendition as primary but if you want to do it for view purpose ( if you want to show PDF rendition when user views the document after rendition is generated) this can be done easily via a small customization ). This was implemented in one of my projects
Please mark the post helpful or answered it it was the case
Kind Regards,
Ashish Srivastava
0 -
-
Hi Bhavik,
Let us know if your question is answered now
Kind Regards,
Ashish Srivastava
0 -
"There is nothing as primary or secondary rendition. It is all how you name it."
- This statement is not correct. The primary rendition is the rendition that is associated with the dm_sysobject. This rendition is "served up" when you want to getfile (for viewing or editing) without specify a specific rendition. Webtop does this unless you override the behavior by configuring a "preferred" rendition.
See this thread on how to set primary rendition:
0 -
Hi Johnny,
You might be correct. I was told by support that the content associated with dm_sysobject is termed as original content (in my case the word document) and the pdf generated is the rendition.
I would definitely like to agree with you as that is the version I told before getting the above answer but what support told also looks correct ( it is more of the language to be used while explaining the problem)
In any case, above links should help Bhavik getting the solution to his problem
Kind Regards,
Ashish Srivastava
0 -
I agree that this may be semantics, but your description of what support said is even more confusing.
The original content associated with dm_sysobject actually shows up if you click view all renditions in Webtop, so from my perspective, everything is a "rendition" and primary rendition is the one associated with dm_sysobject.
0
Categories
- All Categories
- 109 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
- 121 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management