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 :
Small and medium business | Business Central, N...
Suggested Answer

Display Media (or BLOB) on page based on selection in a different field

(0) ShareShare
ReportReport
Posted on by 32

I have a question on something that I'm sure is possible, I just haven't figured out exactly how to code it yet.

I'll explain using a simplified example:

Lets say I'm a green-grocer and sell all sorts of varieties of apples, bananas and oranges.  I want a generic image of an apple, banana or orange displayed on my Item cards based on the selection of some field.

To keep it simple and separate from all other BC stuff, lets say I add a new option field [Product Type] with the options 'Apple', 'Banana' and 'Orange'. So when I select 'Apple' the image of an apple is displayed on the Item page.

Now I understand I can just upload the image of an apple into the existing picture field on the item card, but if I had 100 varieties each of apples, bananas and oranges I don't want to have to import the same 3 images 300 times. I'd rather just set the Product Type and the image displays accordingly.

I'm thinking I'll be using either the MediaSet system table, or given the smallish number of images perhaps just create a new table ProductType which stores the Image along with their corresponding Product Type Code.

Thanks in advance

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    99,974 Super User 2026 Season 1 on at

    Hi, I made a simple example, hoping to give you some hints.

    Dynamics 365 Business Central: How to add a picture to Item Category (Manage item picture by group) – Customization

    https://yzhums.com/34480/

    Thanks

    ZHU

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,024 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,145 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 705 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans