- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
I use Invoke DDX operation of the AssemblerService.
For my DDX I use the following.
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="result.pdf">
<PDF source="inDoc" />
</PDF>
<DocumentInformation source="result.pdf" result="doc_info.xml" />
</DDX>
The output of the Invoke DDX is an AssemblerResult variable.
You can then use a SetValue to pick out the juicy parts. To get the number of pages, I do
/process_data/result/object/documents, which I assign to a map variable
/process_data/map[@id="doc_info.xml"], which I assign to an xml variable
/process_data/xml//DocInfo/NumPages, which I assign to a int variable
Views
Replies
0 Likes
Total Likes