web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)
Answered

Example of creating a XML document by code

(0) ShareShare
ReportReport
Posted on by 453

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

I have the same question (0)
  • Verified answer
    Andrey Baludin Profile Picture
    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

  • Mouli Kaku Profile Picture
    517 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.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Alexander Ermakov Profile Picture

Alexander Ermakov 2

#2
SC666 Profile Picture

SC666 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans