These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Problem with xml datasource

mmonshausen
Registered: Aug 18 2008
Posts: 5

Hi,
I designed a form using Adobe LifeCycle Designer 7.1. In this form, there are some drop-down-list-boxes, the content of those list-boxes should be read from a xml-file. Therefore I created a datasource for xml-files and bound it to the drop-down-list-box.

The xml-file looks like that:

The binding information looks like this:
Items: $record.seller_info.seller[*]
Item Text: seller[*].name
Item Value: seller[*].id

If I view the form in PDF-view, the list-boxes are empty. But if I click to the empty box, a proper value (the first one of the xml-hierarchy) appears in the closed list-box. The value which appears is the id.

Besides Adobe Designer, there is Adobe Reader 9 installed. I do not have installed Adobe Acrobat, because I only wan't to design a form and later on use a server which enables Reader Rights for the end-user.

Could someone give me a hint, what's wrong?

Thanks alot,

Martin

My Product Information:
LiveCycle Designer, Windows
mmonshausen
Registered: Aug 18 2008
Posts: 5
OK,
sorry there was an flaw in reasoning. I forgot, that the XML-file only specifies the structure of the data.... After processing with Adobe Services and the xml-file as input, the values finally appear...

But now there is an additional problem:
Now the values will be shown correctly in the drop-down-boxes. I made five rows (i1 ... i5)containing the same bound controls and in the first n rows (n = amount of predefined values from xml-file) the i^th predefined value will be shown.

What's wrong? Is it not possible, that nothing is selected initially?

Thank you very much for your assistence!!!

Gruß,

Martin