I am starting to work with Adobe LiveCycle, and I would like to know if it is possible to obtain automatically (having as source a XML file) a PDF that contains a list with variable number of elements. In addition, I only want to show it in case that these elements are in the XML file.
I mean, if I have this XML code:
<DocType> Drama </DocType>
<DocType> History </DocType>
<DocType> Fiction </DocType>
I would like that the PDF show the next:
But in case that the XML doesn't have anything in this part, I don't want to show anything.
I was reading the help and some tutorials... So I decide to insert a subform named Document with a content flowed, and I set the data binding with the route. Something like this: $record. ... .Document
Also, I have another subform named DocType, wrapped in the previous one, and in the data binding I set: DocType[*]
But, this doesn't work...
Thanks in advance!!
Are you using LiveCycle forms services to render the XDP(Form)? or simply designing the form and previewing it in designer itself/
If you want to bind the fields of form to specific data, you may need to use XSD(schema file) and then the data xml can be merged to produce the results.
It seesm that the issue is with binding. Juyst try global binding and check the results.
If possible share the form.