Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Business Central forum

Business Central

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

Could you please help me out with some answers :

1- Is it possible to import multiple pictures (e.g. for items) at once in Business Central?

2- Is there a complete list of fields with type, length and format?

Thank you in advance!

  • Community Member Profile Picture
    on at
    RE: Business Central

    Thank you Ivan!

  • Community Member Profile Picture
    on at
    RE: Business Central

    Thank you Stefano!

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Business Central

    Thanks for this update Ivan. Nice to know.

  • Suggested answer
    ikoletic Profile Picture
    2,202 on at
    RE: Business Central

    Hi both

    This is to inform you that we have feature in pipeline going out with January update of Business Central that resolves this (Bulk Import of Item pictures).

    Here's the idea that triggered this feature.

    https://experience.dynamics.com/ideas/idea/?ideaid=64d45902-c931-e711-80c0-00155d4616d6 

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Business Central

    You cam import an Item picture by code in the following way:

    if UploadIntoStream('', '', '', FileName, FileInstream) then

           begin

               Clear(Item.Picture);

               Item.Picture.ImportStream(FileInstream,FileName);

               Item.Modify(true);

           end;

    where FileInstream is an InStream object.

    UploadIntoStream asks for a file. To massively import pictures, I think you'll have to upload them to a remote source (like azure or similar), reading the images as stream and use that code for saving. You could also use a ZIP archive.

    The trick is using InStreams, but I don't have a ready example.

  • Community Member Profile Picture
    on at
    RE: Business Central

    Hi Stefano,

    Thank you for getting back.

    Would you please be able to suggest a workaround for the 1st question? I know it is possible to do this one by one .

    Thank you! 

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: Business Central

    1) Not in a standard way

    2) No but you can download a local sandbox (Docker-based) and from here you can access the CSIDE environment too (with accesso to all objects).

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans