Hi PaulK07, Thanks for your reply
While googling I found the way to browse a file. Using this I am able to browse the file and make it attached to the PDF.
Code:
/* On Button Click Event */
var oObj = event.target;
var fileAttachments = oObj.dataObjects;
oObj.importDataObject(counter.value); //counter.value = 0 ; form variable
var oDataObj = oObj.getDataObject(counter.value);
txtFilePath.rawValue = oDataObj.path; // Set the file name in the TextField.
But this still does not solve the problem completely. It is just giving the file name but I need the complete file path.
Can anybody help how can I get the complete file path in the TextField using this (or any other) method.
thanks in advance.
-
Abhinav