Skip navigation
Currently Being Moderated

Possible to use JavaScript to Import Data from XML file to pre-fill fields?

Jul 25, 2012 2:45 PM

Hi,

 

I have a dynamic fill-in PDF that I want to "pre-fill" internally in my company before sending out to users who will change any pre-filled fields necessary and answer questions we did not already answer.

 

We do not have LiveCycle Reader Extensions, but we can use Acrobat to import data from an XML document to pre-fill the named fields.  Is it possibly to do this task using folder-level Javascript or some other method?  I can look into this, and post my findings, but I'd like to know if it's possible or if I need to use a different programming language.

 
Replies
  • Currently Being Moderated
    Jul 26, 2012 12:54 PM   in reply to davidcornett

    Hi,

     

    I can't check now, so I am not sure. I suspect not, but...

     

    I developed a scripted import XML solution that worked when the form was digitally signed. This certified the PDF and the scripted import worked.

     

    May be worth checking out,

     

    Niall

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 31, 2012 2:21 PM   in reply to davidcornett

    Hi,

     

    I am afraid that solution was for a specific client and I can't share it. If I get a chance I will mock up an example, but this wont be for a while. From memory it was just a straight importData method. This would normally fail silently in a non-certified form, but when the form is digitally signed/certified, it works without a hitch.

     

    Good luck,

     

    Niall

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points