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...
Answered

Export Query using XML port

(0) ShareShare
ReportReport
Posted on by 115

Hello

is it possible to export a query using a XML port?

i know you can using a report, but need to use xml port as it lets you export as csv and you can specify the seperator

thanks

charan

  • Suggested answer
    JAngle Profile Picture
    159 on at

    Not something I've tried but theory being you could pick a table to loop through and then have a query read for the total count. Use text elements in the XML port which can then be populated by the query results.

    Not answering your question directly but an alternate option would be to get a page to show your query results. Then have a XML port export from it as the table the page displays has been populated by the query. Will make the XML port part easier as you know your query results are directly available.

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

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 741 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 514 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 336 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans