Copy link to clipboard
Copied
I need to import a csv file as an attachment from a file directory in a pdf document.
This is the file directory location:
C:\Temp\trm\output.csv
Here is the script:
this.importDataObject("Unknown","c/Temp/trm/output.csv");
When the script is run from the console, the console reports back as false.
I think the problem may be with defining the cName?
Any assistance most appreciated thank you.
Add a forward-slash at the start of your file-path.
Copy link to clipboard
Copied
Add a forward-slash at the start of your file-path.
Copy link to clipboard
Copied
Thank you very much for your assistance. Working perfectly now, importing the csv file as an attachment to the pdf. this.importDataObject("output","/c/Temp/trm/output.csv");
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more