Announcements
No record found.
By default, XMLports use the UTF-8 encoding standard, which is why the XMLport was created successfully. If you require a different encoding, it must be specified in the AL file.
To include the XML declaration header automatically, you can enforce it in your AL file by setting the property below:
<?xml version="1.0" encoding="UTF-8"?>
Hi, good day I hope this can help you, and give you some hints.
Business Central XmlPort: Why the XML Declaration Looks Missing
Best Regards Gerardo
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,002 Super User 2026 Season 1
YUN ZHU 1,255 Super User 2026 Season 1
AndrewThomas81 1,217