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

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    Maybe this does help:

    www.hannesholst.com/.../

    Thanks.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 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,166 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,166 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

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,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans