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

How to display an embedded image background in a RDLC report?

(0) ShareShare
ReportReport
Posted on by 73

I need to display a "Draft" image as a background of my "Sales Order" report if the "No. of Archived Versions" is equal to 0.

I have tried this:

          <BackgroundImage>
            <Source>Embedded</Source>
            <Value>IIF(Fields!No__of_Archived_Versions.Value = 0,Draft,Blank)</Value>
          </BackgroundImage>

or this:

<Value>IIF(Fields!No__of_Archived_Versions.Value = 0,System.Convert.FromBase64String(Draft),System.Convert.FromBase64String(Blank))</Value>

But I always get the error that it is not a valid BackgroundImageValue property. Ideally, I would like to specify a "None" image instead of a "Blank" image.

Note that both images are correctly embedded in the RDLC document and if I specify this, it works:

<Value>Draft</Value>

Any help would be greatly appreciated.

I have the same question (0)
  • Suggested answer
    LLEV Profile Picture
    73 on at

    I've found the solution:

    <Value>=iif(Fields!No__of_Archived_Versions.Value&gt;0,nothing,"Draft")</Value>
  • Inkey Solutions Profile Picture
    2,100 on at

    You can use Image Import in Report Builder 

    and From the import action put your image there and set you image as you want.

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,010

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans