Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

Error: "User cancelled this action."

$
0
0

I'm trying to import and XML but I always get "User cancelled this action."

 

var doc = app.open(File('/c/files/test.indd'));

var xml = File('/c/files/test.xml');

 

doc.importXML(xml); // <-- It halts execution on this line with: User cancelled this action.

doc.exportFile(ExportFormat.PDF_TYPE, File('/c/files/test.pdf'));

 

Any help or some direction to a decent manual would be highly appreciated.

 

Regards


Viewing all articles
Browse latest Browse all 20709

Trending Articles



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