web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Upload multiple pictures from a folder to the BC16 webclient (OnPrem) WITHOUT a dialog

(0) ShareShare
ReportReport
Posted on by 2

Hi all,

I want to upload multiple pictures from a folder to the BC16 webclient (OnPrem) without a dialog. Therefore I can't use UPLOADINTOSTREAM function and using the file management codeunit is not allowed in an extension.

Is there a possible workaroud (SQL query, PowerShell, Webservice)?

Kr.,

Dennis

I have the same question (0)
  • Verified answer
    Dennis Pardaan Cornator Profile Picture
    2 on at
    RE: Upload multiple pictures from a folder to the BC16 webclient (OnPrem) WITHOUT a dialog

    Thx Stefano... I'm going to try this out

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Upload multiple pictures from a folder to the BC16 webclient (OnPrem) WITHOUT a dialog

    You can read the files as a stream and then import the stream into a Media field by using YourMediaField.ImportStream method.

  • Dennis Pardaan Cornator Profile Picture
    2 on at
    RE: Upload multiple pictures from a folder to the BC16 webclient (OnPrem) WITHOUT a dialog

    This solution is also using UPLOADINTOSTREAM.

  • Suggested answer
    Binesh Profile Picture
    7,885 on at
    RE: Upload multiple pictures from a folder to the BC16 webclient (OnPrem) WITHOUT a dialog

    Hello,

    Here is the step by step code, go through the below link.

    www.olisterr.tech/.../how-to-bulk-upload-attachements-using.html

  • Dennis Pardaan Cornator Profile Picture
    2 on at
    RE: Upload multiple pictures from a folder to the BC16 webclient (OnPrem) WITHOUT a dialog

    Thanks for the reply, but this is not a solution for my problem.

  • Alexey Finogenov Profile Picture
    1,659 on at
    RE: Upload multiple pictures from a folder to the BC16 webclient (OnPrem) WITHOUT a dialog

    I am not a DEV person.. just an idea: maybe check how this feature work - https://docs.microsoft.com/en-us/dynamics365/business-central/inventory-how-import-item-pictures

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,669 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,668

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,203

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans