xml Structure

EmazEmaz Member Posts: 18
Hi all

I have an xml port and can't figure out how to get the structure as shown below.
My aim is this structure of the xml-port (red marked area):

zhr5scoi2g2n.png



Actual state is this:

wrc7ujddwqva.png



There is no table for the CustomFields.

For example, my challenge is to make form :
<VKOrderNo>2021-60217</VKOrderNo>

an output like this:
<CustomField name="VK Order No">VK Order No</CustomField>

Does anyone have an idea without having programming the xml port?
Thanks and best regards.

Emaz

Best Answer

  • ftorneroftornero Member Posts: 522
    Answer ✓
    Hello @Emaz

    You could modify your XMLPort like this:

    97mt0tbtka4g.png

    And in the code assign the values, in the image are fixed but you must assig the correct field value in every CustomFieldx

    s5gicbq64xn3.png

    And this should be the result:

    cacklsi87ro0.png

    Regards

Answers

  • ftorneroftornero Member Posts: 522
    Hello @Emaz

    Are the CustomerFields allways the 7 ones in the image ?

    Regards
  • ftorneroftornero Member Posts: 522
    Sorry I mean CustomFields.

    And are this fields included in OrderItem ?
  • EmazEmaz Member Posts: 18
    Hi ftornero,

    yes, the fields are always these 7.
  • ftorneroftornero Member Posts: 522
    Answer ✓
    Hello @Emaz

    You could modify your XMLPort like this:

    97mt0tbtka4g.png

    And in the code assign the values, in the image are fixed but you must assig the correct field value in every CustomFieldx

    s5gicbq64xn3.png

    And this should be the result:

    cacklsi87ro0.png

    Regards
  • EmazEmaz Member Posts: 18
    Great! Thank you!
Sign In or Register to comment.