Is there an equivalent using DFC for api getfile or getcontent calls?
Is there an equivalent using DFC for api getfile or getcontent calls? Use case is: get the content of a rendition based on page_modifier (attribute of dmr_content). The dql:
select dm_document.r_object_id, dmr_content.page_modifier
from dmr_content, dm_document (all)
where any dmr_content.page_modifier > ' '
and dmr_content.full_format='pdf'
and any dmr_content.parent_id = dm_document.r_object_id
1
Comments
-
IDfSysObject.getFileEx2()
1 -
bacham3 said:IDfSysObject.getFileEx2()
Do you happen to have a code snippet that takes advantage of getFileEx2?
I am unclear how it would be called on a file with multiple PDF renditions.
The page_modifier is the only way to differentiate the renditions.
The equivalent API call is:getfile,c,<r_object_id>,<Destination_File>,'pdf',0,,<Page_Modifier>
Thanks for helping.
0 -
@EdH1 - Bacham3 was just pointing you in the right direction. If you are planning to do any coding, please download and review DFC javadocs. In the javadocs, you will see method signature is:
getFileEx2(String fileName, String formatName, int pageNumber, String pageModifier, boolean other)
1
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 145 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management