Copy link to clipboard
Copied
I am trying to print a PDF file on citrix . While printing, it looks for .xdp file only at C:\users\user123\AppData\Local\Temp. Is there a way to make Adobe DC JavaScript to look for .xdp file at different location. I am using below code to print
var pp = oDoc.getPrintParams();
oDoc.print( {
printParams: pp,
} );
I am asking this question because I am not able to create .xdp file on citrix machine at this location (C:\users\user123\AppData\Local\Temp) because its user specific folder location. I am using below code to create .xdp file
oDoc.exportXFAData ( {
cPath: sPath,
bXDP: true,
aPackets: ["datasets"]
} );
If I set
sPath=C:\users\user123\AppData\Local\Temp\DocData.xdp, everything works perfectly fine and print() works successfully. Please advise.Early response will be urgently solicited.
I was able to resolve it by dynamically getting username
Copy link to clipboard
Copied
I don't understand the "looks for XDP" part of this. What looks for an XDP? And, is this an XFA form?
Copy link to clipboard
Copied
I was able to resolve it by dynamically getting username