XML pORTS

SuperSage77SuperSage77 Member Posts: 101
I use XML Ports for import XML files from a Website and export Navision Datas to the same Website.

When I generate my XML files all the elements (balises) are presents in the XML file even if the field is empty like <Currency_Code /> and it's good.

But when I import XML file, the elements empty (balises) generate from the Website are not presents in the XML ile and my XML Port generate and error message.How make for skip this line ? Or the XML file must he all the elements (balises) even if they are empty ?

Thank's for a quickly response.

Comments

  • ara3nara3n Member Posts: 9,257
    Go through the TagNames that are not mandatory and click on properties. There is a property called MinOccurs. Set it to Zero. And you are set.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.