1. ATK Gimmy Susan
  2. PowerBuilder
  3. Monday, 03 July 2017
Hello to all

I have a problem exporting the data in xml format
It can be exported with a 3-level hierarchy
eg:
customer
invoice
article

N.B.
Many articles on an invoice
Many bills in a customer
Many customers

The dw allows you to have just one level of detail ... why ?

Tips?

Thanks in advance

Gimmy
Accepted Answer
Daryl Foster Accepted Answer Pending Moderation
0
Votes
Undo

Is your datawindow using nested reports? I've used nested reports to get multi-level xml in the past. In the xml definition of the parent you can add a nested report to an element and the xml of the nested report should be added in place in the final xml.

Comment
There are no comments made yet.
  1. Tuesday, 4 July 2017
  2. PowerBuilder
  3. # Permalink
Appeon Support Team Accepted Answer Pending Moderation
0
Votes
Undo

Hi Gimmy,

Please create groups in the datawindow to implement the multiple levels in the exported xml.

I managed to show 4 levels in the exported xml using Saveas in PowerBuilder 2017.

Alternatively, you may use PBDOM and Treeview to achieve the same results.

If the problem still persists, kindly please send us your code for more study.

 

Regards,

Appeon Support Team

Comment
There are no comments made yet.
  1. Tuesday, 4 July 2017
  2. PowerBuilder
  3. # 1
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.