Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Help with Blobs and Conditions in Report Extension

Posted on by 479

My ultimate goal is to display an image (from my computer) on a sale invoice report only if a specific field on the invoice is a certain value.

I don't know how to upload an image from my own computer so that I can use it in my report extension (I'm assuming that is what "blobs" are for?). I am also unsure how to how to write the conditional in my report extension (what trigger to use, how to use reference a field value so that I can compare it to a certain value, etc).

Can I please get some guidance on this?

  • jdrco Profile Picture
    jdrco 479 on at
    RE: Help with Blobs and Conditions in Report Extension

    Hi Nitin Verma , sorry to bother again but I am trying this method now. But I get this error:

    Rendering output for the report failed and the following error occurred: The Visibility.Hidden expression for the image ‘PaidTxt’ has a scope parameter that is not valid for an aggregate function. The scope parameter must be set to a string constant that is equal to either the name of a containing group, the name of a containing data region, or the name of a dataset.

    pastedimage1653068565828v1.pngpastedimage1653068580993v2.png

    Thanks,
    J

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Help with Blobs and Conditions in Report Extension

    In Both case you can copy and paste the image directly your designer.

  • jdrco Profile Picture
    jdrco 479 on at
    RE: Help with Blobs and Conditions in Report Extension

    Right now I am only working with Word and AL. What designer are you referring to?

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Help with Blobs and Conditions in Report Extension

    Hi,

    You can also copy and paste the image directly (if there is a one image only) into your designer, and set the visibility property, and see if it works.

    Thanks.

  • jdrco Profile Picture
    jdrco 479 on at
    RE: Help with Blobs and Conditions in Report Extension

    Hi Nitin Verma, do you know if there is a way of doing this just using AL programming?

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Help with Blobs and Conditions in Report Extension

    Hi jdrco ,

    You can search the report builder download option, it will allow you to design RDL report format report, see the below link to download.

    www.microsoft.com/.../details.aspx

    Or you can use Visual Studio latest version by installing the RDLC report add in there.

    Thanks.

  • jdrco Profile Picture
    jdrco 479 on at
    RE: Help with Blobs and Conditions in Report Extension

    What software do you use to edit .rdlc reports like this?

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Help with Blobs and Conditions in Report Extension

    Hi jdrco ,

    You can achieve it by going to the report designer of the image Visibility property see the image below.

    pastedimage1652750450064v1.png

    pastedimage1652750510514v2.png

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,565 Super User 2024 Season 2 on at
    RE: Help with Blobs and Conditions in Report Extension

    Hi, I think you can refer to the following standard Logo handling.

    pastedimage1652747120445v5.png

    pastedimage1652746970532v2.png

    pastedimage1652746954923v1.png

    pastedimage1652747102891v4.png

    pastedimage1652747067653v3.png

    pastedimage1652747220639v6.png

    pastedimage1652747242528v7.png

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans