Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Example of creating a XML document by code

Posted on by 445

Hi 

I am looking for an example of creating XML document by code in AL for Business Central. 

I couldn't find any good examples on google. 

*This post is locked for comments

  • Mouli Kaku Profile Picture
    Mouli Kaku 515 on at
    RE: Example of creating a XML document by code

    As mentioned Divesh articles are good help at the same time Nav team introduced new codeunit 1235 XML Buffer Writer , please have a look at it also.

  • Verified answer
    Andrey Baludin Profile Picture
    Andrey Baludin 3,941 on at
    RE: Example of creating a XML document by code

    Hi!

    Divesh wrote very good articles - how to replace XML DOM management with AL. Have a look at them:

    https://community.dynamics.com/nav/b/diveshboramsdnavblog/archive/2018/03/05/vs-code-xml-dom-management-part-1

    https://community.dynamics.com/nav/b/diveshboramsdnavblog/archive/2018/03/09/vs-code-xml-dom-management-part-2

    And how to create SOAP requests - basically here you'll find  how to create xml files with previous codeunits:

    community.dynamics.com/.../creating-soap-request-message-in-al

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans