I need to import a csv file as an attachment from a file directory in a pdf document.
This is the file directory location:
Here is the script:
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.
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");