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 :
Business Central forum

Item Pictures Exporting

(0) ShareShare
ReportReport
Posted on by

I need to export Item Pictures in a Excel file from CRM system. As you all may know, all item details may export in excel, but not the pictures.

I heard that in NAV it is doable. I need to do similar thing that I mentioned above.

Categories:
  • Suggested answer
    Olister Rumao Profile Picture
    4,009 on at

    Hi Karasahin,

    This is possible through Customizations in NAV.

    You can individually export the pictures though.

    Thanks

  • Community Member Profile Picture
    on at

    // Import image files the C:\images folder.  

    itemRec.GET('1000');

    itemRec.Picture.IMPORTFILE('C:\images\1000-v1.jpg', 'Demo image for item ' + FORMAT(itemRec."No."));

    itemRec.Picture.IMPORTFILE('C:\images\1000-v2.jpg', 'Demo image for item ' + FORMAT(itemRec."No."));

    itemRec.MODIFY;

    COMMIT;

    // Export the MediaSet to two separate image files in the c:\images\export folder.  

    itemRec.GET('1000');

    count := itemRec.Picture.EXPORTFILE('C:\images\export\' + 'Item1000Image.jpg');  

    Message('%1 files exported.', count);

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans