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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Add 'Media' Datatype to Report w/ ReportExtension and RDLC Format

(0) ShareShare
ReportReport
Posted on by 30

Hello all, 

I am trying to add a column to a default report with a report extension. The column's source field type is datatype 'Media'. 

This report is being displayed with a RDLC layout, and I am using an image report display with the expression of the field in it. 

Does this field have to be called with a function, or should I be able to simply display the field through the 'Image' box in RDLC?

Thanks, 

Chris

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    Have you remembered to run calcfields on the blob filed where the media in stored?

  • Suggested answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at

    Hi, You can refer to the Picture field in Company Infomation. But it uses the Blob type.

    pastedimage1673570618374v1.png

    Here is a simple example:

    https://yzhums.com/1958/

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Steven Renders Profile Picture
    5,672 Moderator on at

    Yes you can. However be carefull, because adding it as a column to the dataset might make it repeat on every line of the dataset. This drastically slows down the performance of the report.

    If you need an image only once, like for example the company logo, then it should only be available in 1 record of the dataset.

    Using a report extension, imho, is then the wrong solution, or make sure you clear the image after the first line has been processed, like in report 1306.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans