MSG: [DM_SYSOBJECT_E_RENDITION_FMT_SAMEAS]error:
Hi All
when i am trying to load rendition i am getting below error and rendition is not getting loaded.
THREAD: main; MSG: [DM_SYSOBJECT_E_RENDITION_FMT_SAMEAS]error: "Rendition format text must be different than the original format text for EHS-02-033-00 sysobject unless the page modifier is specified."; ERRORCODE: 100; NEXT: null
Code snapshot:
IDfSysObject renditionToBeAddedto = (IDfSysObject) session2.getObject(documentID);
renditionToBeAddedto.addRendition("E:\\Export_rendition_test\\"+objectId+".pdf", "pdf");
this is because my native content and the rendition is in same format PDF.
Can some one help me how to overcome this issues ?
Thanks in Advance.
Comments
-
+1 - miles is correct. But before you start using page_modifier, you should really think what you're trying to accomplish. If this PDF you're adding is a rendition of the main object, then usually that (main content or primary rendition) object would be some other document format - like MS Word. But it seems that in your case your rendition PDF format is clashing with the primary content format - which begs the question why you'd have a rendition of the same format as the primary - there are valid cases where this is fine - for example if your primary PDF has 300dpi resolution and you want to add PDF of a different resolution (which usually will be smaller in terms of file size) - if that is the case, then as miles suggests, use page_modifier (which is nothing more than just a free-form string) to accomplish that - and you probably should set page_modifier to some value reflecting that (ie. page_modifier = "WebReadyPreview")
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 153 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 188 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories