Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

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.

*This post is locked for comments

  • Suggested answer
    Stefano Demiliani Profile Picture
    Stefano Demiliani 37,162 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans