Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 92406

Re: Access issue: doc.importdataobject("myPDF","/c/temp/outfile.pdf");

$
0
0

var thedoc = doc.importDataObject(mynewname,"/C/TEMP/print/OUTFILE.pdf");

 

Still, same issue.

 

After importing, I have a code to opendataobject and it's throwing error (JavaScript console print).

 

************************************************

JavaScript console print:

 

status of the import is :true
Dumping all data objects in the document.
DataObject[0]=testing123
After myReadDoc:goodstat:good
Before openDataObject

RaiseError: File does not begin with '%PDF-'.
Doc.openDataObject:1342:XFA:topmostSubform[0]:#pageSet[0]:PageArea1[0]:Submit[0]:click
===> File does not begin with '%PDF-'.


Viewing all articles
Browse latest Browse all 92406

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>