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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

XMLport export with job queue on BC SaaS (Cloud)

(0) ShareShare
ReportReport
Posted on by 375

Hi,

We have an XMLPort that creates a CSV file for a BC16 SaaS instance. So far, that XMLPort was run manually by a user who would then save the file at the proper location, but we would like to automate it through a job queue.

Is there a way to do this? If I'm not mistaken, we can't use a mapped network drive as the Cloud is not aware of them. Shared URL on OneDrive could be a solution if there is no other way, but how do you pass on credentials to authenticate from the job queue?

Any input and idea would be greatly appreciated

Thanks

-Julie

I have the same question (0)
  • Suggested answer
    JAngle Profile Picture
    133 on at

    XMLport would need to be executed by a report or codeunit and you would more than likely need to store the credentials in the object or in a database location.

    A different suggestion would be to create a query based on the XMLport. Publish that as a web service. Use power automate to call the web service with the HTTP connector. Store the JSON results in an Excel file (so will be saved in onedrive) and convert the file into CSV if needed after that. As standard it will look to place data into an Excel data table. With power automate you can use a recurring schedule for the export to take place.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,226

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,047 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,257 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans