This content has been marked as final. Show 3 replies
Typically this type of processing would be handled by LiveCycle ES Forms. The Forms solution component allows you to render forms by merging (pre-filling) existing data with the template (xdp or pdf). In other words, the data needs to be merged with the form on the server before delivering it to the user.
You cannot insert or apply a URL to the PDF form pointing back to the data because this could lead to security issues (Acrobat/Reader doesn't allow this type of behavior). Also, PDF content is intended to be self-contained. It is for these reasons you can no longer pull in images from an href in a PDF.
What about just passing in parameters from a web page into the PDF when it is opened. Is this possible? I have both Pro 6 and Pro 8.
Can I do that with either of thees?
Create a form with a text field "TextField1"
Then add the following to the forms docready event
myDoc = event.target;
TextField1.rawValue = myDoc.URL
When I loaded my form via the url (with a parameter), the Text field set itself to http://localhost/Untitled1url.pdf?test=abc
Then, when I saved the form locally, the TextField value persisted.
I'm betting it's not bulletproof, but it's a start....