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

Need to Change data in PDF form field with importData operation

Avatar

Avatar
Validate 1
Level 1
BPM_Developer
Level 1

Likes

0 likes

Total Posts

28 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
BPM_Developer
Level 1

Likes

0 likes

Total Posts

28 posts

Correct Reply

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

03-06-2010

This should be simple, right?

I have a PDF form that is submitted.  At a certain step in the process, I need to modify the value of one field from within the process.  I am using a PDF document in the default formData document variable.  To do this, I am using the exportData operation from the FormDataIntegration service to get XML.  I then use the setValue service to modify one node of the XML.  Finally, I use the importData operation from the FormDataIntegration service to import the modified data back into the PDF.

Problem is that I am getting an error.  It says: ALC-FDI-001-304: Only XDP data is supported with XFA forms.

Any advice?  Jasmin, Jayan, Paul, anyone?

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 1
BPM_Developer
Level 1

Likes

0 likes

Total Posts

28 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
BPM_Developer
Level 1

Likes

0 likes

Total Posts

28 posts

Correct Reply

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

04-06-2010

Hi Jasmin,

You were right on.  Silly mistake.  I checked the output xml and the input xml one more time and noticed a mistake.  Fixed it and it works great now.

Thanks Jasmin!

Avatar

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile

Avatar
Coach
Level 10
Jasmin_Charbonn
Level 10

Likes

149 likes

Total Posts

2,154 posts

Correct Reply

97 solutions
Top badges earned
Coach
Give Back 1000
Give back 900
Give Back 800
Give back 600
View profile
Jasmin_Charbonn
Level 10

04-06-2010

My theory is that when you export the data you do get xdp data.

Now  when you modify the node you don't have the right xPath to that node and if that's the case, it might be overwriting the entire xml.

This is causing the xml not to be in xdp data format and you get the error.

Could you post the data you get from the exportData operation and then the xml you try to use by the importData?

Jasmin