1. ATK Gimmy Susan
  2. PowerBuilder
  3. Monday, 3 July 2017 13:38 PM UTC
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
  1. Tuesday, 4 July 2017 01:10 AM UTC
  2. PowerBuilder
  3. # Permalink

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.
Appeon Support Team Accepted Answer Pending Moderation
  1. Tuesday, 4 July 2017 08:49 AM UTC
  2. PowerBuilder
  3. # 1

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.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.