Binding an XML file into LiveCycle

Avatar

Avatar
Validate 1
Level 1
IDuncan804
Level 1

Likes

2 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
IDuncan804
Level 1

Likes

2 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
IDuncan804
Level 1

19-02-2015

Currently we are using a .dat file to populate a .docx file, but we are having issues with layout and formatting and I want to switch it to using a PDF.


I have found lots of information on adding an XML Data Connection to a PDF, but nothing to do with troubleshooting. I created a simple XML file with three fields and I was able to connect it to a dynamic PDF and then generate the fields into the document. Now when I preview the PDF the values dont fill in, nor when I open it in Reader.

I have tested this on Designer ES2 and ES3 and Reader X.

I cant seem to find a way to attach the XML and PDF, but i will include the XML for reference:

<?xml version="1.0" encoding="UTF-8" ?>

    <draft>

        <number>100040</number>

        <entered>02-18-2015</entered>

        <name>Name</name>

    </draft>

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

19-02-2015

Hi,You may just need to add the data file to the form, under Form Properties ... Preview?

Answers (3)

Answers (3)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile

Avatar
Coach
MVP
radzmar
MVP

Likes

397 likes

Total Posts

2,687 posts

Correct reply

492 solutions
Top badges earned
Coach
Ignite 3
Ignite 1
Validate 1
Give Back 50
View profile
radzmar
MVP

20-02-2015

The preview only gives you an idea how an imported xml will be populated into your form.

In the final form you'll have to import the XML again using Acrobat.

Avatar

Avatar
Validate 1
Level 1
IDuncan804
Level 1

Likes

2 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
IDuncan804
Level 1

Likes

2 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
IDuncan804
Level 1

20-02-2015

Hello,

I believe I spoke too soon, the data now binds when I Preview the PDF in LiveCycle, but when I save it and then open it in Acrobat Pro or Reader, it does not bind the XML data in.

Any help is appreciated.

Ian

Avatar

Avatar
Validate 1
Level 1
IDuncan804
Level 1

Likes

2 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
IDuncan804
Level 1

Likes

2 likes

Total Posts

12 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
IDuncan804
Level 1

20-02-2015

Thank you very much!!!!! That has fixed it perfectly.