Now, I want to place the main pdf on the server so that user can access the pdf using URL.
When user access the pdf using URL and hit the submit button, it's creating scan pdf on the user machine, but it's failing on the import statement -doc.importdataobject("myPDF","/c/temp/outfile.pdf");.
I am not sure whether this is access issue or I need to do something else.
The path /c/temp/outfile.pdf must be local machine path but I am assuming import statement is looking on server directory.
If I remove the path from the import statement, it pops up a dialog box for browse. After selecting the outfile.pdf it works fine. But I can't ask users to follow this process.
Thanks - Sushil