on 2018 Sep 12 5:30 PM
Hello!
We are using Adobe forms with xml schema based interface for invoice printing. We have 3 tables in the form and depending on some conditions 1, 2 or even all 3 tables might be empty. When any of the tables are empty the printing throws error.
In debugging I downloaded the data .xml and inserted in ALD as new data connection.
On the data connection the table shows up as a text field and when I want to preview the .pdf it throws the following error:
The SOM expression 'BillingDocumentNode.ZPeriodicDailyHead' for the dataRef specified on DailyHeadTbl, resolved to an incompatible node type of 'dataValue'.
I was thinking that there might be some settings in SEGW that puts all the fields and subnodes under the ZPeriodicDailyHead node with empty value, but no matter how I set the cardinalities it always show up in the .xml as an empty node (<ZPeriodicDailyHead/>).
If there are rows in the node I don't get error:
<ZPeriodicDailyHead>
<ZPeriodicDailyHead>
...some other fields with value...
<ZPeriodicDailyItem>
<ZPeriodicDailyItem>
...some other fields with value...
</ZPeriodicDailyItem>
</ZPeriodicDailyItem>
</ZPeriodicDailyHead>
</ZPeriodicDailyHead>
Any suggestions?
Thanks, and best regards,
David.
Hi!
I was playing around with the form and accidentally found the solution.
You have to set the flag 'Repeat Table for Each Data Item' and uncheck the 'Min Count' flag
Thanks for all,
David.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.