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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

XMLPort output as an email

(0) ShareShare
ReportReport
Posted on by 20

We're running Business Central cloud and run a number of XMLports to feed into a seperate data warehouse.  I want to run the xmlports and then save the output automatically.

I can't work out how to do it so any help would be appreciated

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    From BC online its not so easy to have something automatically downloaded without user interaction. Because BC online have no knowledge about your local disks.

    So if you want headless save operations you should look into saving your files to an azure blob storage. The handling of Azure blob storage was improved in version 19.0

    But if you want the data as local files you can use the file download from stream function.

    docs.microsoft.com/.../file-downloadfromstream-method

    In my projects we are moving towards azure blob storage for all the BC online file handling.

    In your heading you also mention e-mail, If you want xml files sent as e-mails you can also do that using streams.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 677 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 430 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 280 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans