Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

My data source works in Preview PDF mode but not when I generate the form

Avatar

Avatar
Validate 1
Level 1
StephenQ
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
StephenQ
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
StephenQ
Level 1

06-05-2021

Now that we're in work-from-home mode, I'm trying to convert a bunch of XFA forms to be online/email rather than print focused. The submitter might select one of several approvers, and I don't want to have to maintain the email addresses in each form. So I'm connecting to an external XML file in the same folder as the form and pulling the relevant names into a dropdown list. I then extract the email address of the selected user and plug it into the RealSubmit event. Works perfectly when I do a Preview PDF. But when I save the form in-place as a Reader Extended PDF file and open it, the dropdown list is empty. The data source path is "./filename.xml". Any ideas? Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
radzmar
MVP

Likes

395 likes

Total Posts

2,686 posts

Correct Reply

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

Avatar
Coach
MVP
radzmar
MVP

Likes

395 likes

Total Posts

2,686 posts

Correct Reply

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

10-05-2021

When you open the form in Acrobat the data won't get imported automatically as in the PDF Preview. 

Use the Import Data function to load you XML file. You'll find it under the right hand tools pane or under [Edit] > [Form Options] > [Import Data].

radzmar_0-1620673217431.png

 

Answers (0)