Skip to main content

Notifications

Microsoft Dynamics NAV forum
Answered

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. 

  • 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

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,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,469 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans