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

Extension development: access to file located in the extension folder

(0) ShareShare
ReportReport
Posted on by

Hi to everyone,

I'm working with version 14 of business central on premise and with extension al development runtime 3.2.

Is there a way to access files within the application folder during runtime?

In particular I would like to access a xml file located in the application folder and put it in a BLOB field during the install of the the extension as part of a setup., but uploadintostream doesn't seem to work...

Is there a standard way to do this?

Thanks a lot,

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Maybe this does help:

    www.hannesholst.com/.../

    Thanks.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    You cannoit embed a file in the app binary file and then download it from the binary. Normally you should provide the package to your customer or download it from an online url in the OnInstall trigger.

  • andreabnm Profile Picture
    on at

    Thanks for the reply, but how can I download it in the OnInstall trigger from an online url?

    Does it need to be an online url? Can't I use a local shared path?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    On a SaaS environment it must be an online URL because you have no access to local paths.

    I will provide a blog post explaining how to do that.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Solution here:

    demiliani.com/.../

  • andreabnm Profile Picture
    on at

    Wow, thanks a lot Stefano.

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 July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 748 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 354 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 351 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans