Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV forum
Suggested answer

How to Create a single xmlfile based on multiple dynamic values using XmlPort

Posted on by 35

There is a xmlport having 3 nodes. I would like to bind data in that xmlport multiple times and in the last I would like to export that in a single xml file.

Please suggest me how can I do that.

I don't think using SETTABLEVIEW multiple times would not work ( I havn't tried yet ).Because I think it will override the values again and again and it will store only last values.

Scenario:- I am creating orders in loop and I will get order id and few more values again and again and need to put all in a single xml file.

NOTE: I am using NAV2013

Any idea?

Thank you.

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,160 Most Valuable Professional on at
    RE: How to Create a single xmlfile based on multiple dynamic values using XmlPort

    It's not really clear what you're trying to do.

    If the target is exporting orders with XMLPort, you can create the data item with header and lines, add the fields you want to export and the output will be a single XML file with all orders.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans