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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

ferrarimartin
Community profile ferrarimartin Level 1
Job title here
Location here
3 BADGES
Level 1

Level 1

Learn more
Joined the community 25-10-2020 9:33:52 PM
Offline
Top badges earned by ferrarimartin
Customize the badges you want to showcase on your profile
Filling an xfa form programmatically
Avatar
Give Back 3
Level 1
ferrarimartin
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
ferrarimartin
- Adobe Experience Manager Forms
Hello, I'm trying to programmatically fill existing signed xfa forms with information from a database. I'm using a library called pdfbox. It works great, except that the tag of the xfa form needs a checksum if modified. I cannot find how to calculate that checksum anywhere. Does Adobe have any product that would let me programmatically fill an xfa form, and modify the contents of the tag? Thanks, Martín.

Views

291

Likes

0

Replies

1
Betreff: xfa forms - checksum for the <form> tag
Avatar
Give Back 3
Level 1
ferrarimartin
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
ferrarimartin
- Adobe LiveCycle
Oops, I didn't mean to send this, and i can't delete it, sorry.

Views

418

Likes

0

Replies

0
Betreff: xfa forms - checksum for the <form> tag
Avatar
Give Back 3
Level 1
ferrarimartin
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
ferrarimartin
- Adobe LiveCycle
Thanks Kosta, Yes, I checked those sites but there's no useful info :(. I can write xfa data with pdfbox, I'm actually using it because iText didn't work well for some forms. I can manually write the xfa data and it works perfectly, but the algorithm for calculating the checksum for the tag doesn't seem to be documented, There's even a stackoverflow question about this subject from iText's creator, but no reply: https://stackoverflow.com/questions/27470442/how-to-calculate-the-checksum-in-an-xf...

Views

430

Likes

0

Replies

0
Re: xfa forms - checksum for the <form> tag
Avatar
Give Back 3
Level 1
ferrarimartin
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
ferrarimartin
- Adobe LiveCycle
Sorry, I'll try to clarify. I'm saving the pdf using Apache's PDFBox. XFA forms are saved inside the pdf and have an XML structure which consists mainly of a template section, a data section, and a form section which is the template and the data merged.. I can save the data part and Adobe reader will pick it up no problem. But the form uses this opening tag: . If that checksum is not valid, Adobe Reader will ignore that section. Since I'm modifying the contents inside the form tag, I need to upd...

Views

473

Likes

0

Replies

0
xfa forms - checksum for the <form> tag
Avatar
Give Back 3
Level 1
ferrarimartin
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
ferrarimartin
- Adobe LiveCycle
Hello, This question has been asked before, but I cannot find an answer anywhere. For XFA forms, adobe reader adds a checksum in the tag when saving. I'm trying to automatically fill an xfa form, and I need to calculate that checksum. Is there any documentation about how to perform that calculation?Thanks, Martín.

Views

495

Likes

0

Replies

5