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...
Answered

Cannot view or edit media field

(0) ShareShare
ReportReport
Posted on by 555

Hi experts,

I have made my own extensions for Business Central Cloud (Sandbox): One new table and one new list page.

I want to show a picture on my list page (and maybe later on a new card page). And I want it to be possible for the user to insert a jpg-file, to change the file in BC and to delete the file in BC (= empty the field).

As I understand, Media or MediaSet are the best types to use in this case.

The problem is that the field is not at all visible on my list page.

What am I missing?

table 50100 CarBrand
{
    DataClassification = ToBeClassified;
    Caption = 'Car Brands';

    fields
    {
        field(1; "Car Brand"; Code[20])
        {
            DataClassification = ToBeClassified;
            Caption = 'Brand';
        }

        field(2; Description; Text[50])
        {
            DataClassification = ToBeClassified;
            Caption = 'Desc.';
        }

        field(3; "Picture of Logo"; Media)
        {
            DataClassification = ToBeClassified;
            Caption = 'Logo';
//            Subtype = Bitmap;
        }

    keys
    {
        key(PK; "Car Brand")
        {
            Clustered = true;
        }
    }
}

page 50100 CarBrand
{
    PageType = List;
    ApplicationArea = All;
    UsageCategory = Lists;
    SourceTable = CarBrand;
    Caption = 'Brands...';

    layout
    {
        area(Content)
        {
            repeater(General)
            {
                field("Car Brand"; Rec."Car Brand")
                {
                    ApplicationArea = All;
                    ToolTip = 'The brand';
                }

                field("Description"; Rec.Description)
                {
                    ApplicationArea = All;
                    ToolTip = 'Some desc.';
                }

                field("Picture of Logo"; Rec."Picture of Logo")
                {
                    ApplicationArea = All;
                    ToolTip = 'The logo';
                }
            }
        }
    }    
}
  • Verified answer
    THE Italian Profile Picture
    Microsoft Employee on at

    MediSet has to be used in one of the following scenarios

    ...

    Display media with records in list type pages, when the page is viewed in the Tile layout. For more information, see Displaying Data as Tiles.

    Display media on a card type page for a record.

    Display media in a report.

    ...

    as per

    docs.microsoft.com/.../devenv-working-with-media-on-records

    Therefore, if you want to see an image in the list, this must be set to Tile mode and respect the following rules

    docs.microsoft.com/.../devenv-lists-as-tiles

  • Morten Steengaard Profile Picture
    555 on at

    Hi Duilio,

    Thank you very much.

    Best regards,

    Morten

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 554 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 360 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 201 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans