Hello,
I have a Dynamic PDF document created in LiveCycle 8.2 with the following structure
topmostSubform
(Master Pages)
Page1
sfHeader
txtName
When I try to assign the value, using C# language, to the txtName I'm getting a null exception.
It looks that my code can't recognize the hierarchy structure.
I tried the following options and none of them worked
topmostSubform[0].#pageSet[0].Page1[0].sfHeader[0].txtName[0]"
topmostSubform[0].pageSet[0].Page1[0].sfHeader[0].txtName[0]"
topmostSubform[0].Page1[0].sfHeader[0].txtName[0]"
Any advise will be truly appreciated!
Thank you.
Views
Replies
Total Likes
What tool are you using to modify your PDF? Most tools only allow modification of Acroforms fields.
Views
Replies
Total Likes
I'm using Dynamic PDF Merger by ceTe Software.
Unfortunately this product is not good to work with dynamic pdf forms.
I also tried to use iTextSharp. So far no luck.
I would truly appreciate if you can give me any other suggestions.
I also wonder if there is an option to have a dynamic pdf files it should be the way to map data to the fields on this form?
Thank a lot for your help!
Views
Replies
Total Likes
iText does support XFA forms, but the API is a bit obtuse. Look for something like AcroFields.XFA. I believe there is a FillXfaForm method that may do what you want.
Views
Replies
Total Likes
Thanks a lot for your advise!
Will start looking into this right the way.
Views
Replies
Total Likes