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
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
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Alexander Ermakov 2
SC666 1