I just need to upload an image to Business Central directly from an image I have in my AL Project (code base). Most tutorials I've seen create an action for doing this, but I just want it to upload as soon as I deploy to my sandbox.
Pls help,
J
I just need to upload an image to Business Central directly from an image I have in my AL Project (code base). Most tutorials I've seen create an action for doing this, but I just want it to upload as soon as I deploy to my sandbox.
Pls help,
J
Hi, This is because, the SaaS version cannot read local files and requires some operations on the UI.
Of course, there are many options for automatic.
Like the example below (Upload an image from URL), you can use Install codeunit to make it automatic with a slight modification.
More details: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-extension-install-code
Hope this helps.
Thanks.
ZHU
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,537 Super User 2024 Season 2
Martin Dráb 228,520 Most Valuable Professional
nmaenpaa 101,148