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

InStream from an Excel generated with Excel Buffer

(0) ShareShare
ReportReport
Posted on by 106
Hi everyone,
 
I am working in a Business Central SaaS environment and I am generating an Excel file using the standard temporary record “Excel Buffer” to build the content entirely in memory. The Excel creation works correctly and the file is generated as expected. However, after generating it, I need to send or attach this Excel file, which means I need to obtain an InStream for the generated content, for example to attach it to an EmailMessage.
 
The issue I am facing is that I have not found any direct way to obtain an InStream from the Excel that is produced by the Excel Buffer in this SaaS scenario. At the moment, the only approach I have found is to export the Excel to a physical file and then import that file again in order to get the InStream, but this seems inefficient.
 
My question is: is there any way to directly convert or access the Excel generated by the Excel Buffer as an InStream, without having to export and re-import the file? I would be very interested in any patterns, built-in capabilities, or best practices that you might be using in a Business Central SaaS environment to handle this scenario cleanly.
 
Thank you in advance for any guidance or suggestions you can share.
 
Best regards.
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,986 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,071 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 975 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans