Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

D365 report not showing image from a WebResource file

Posted on by 5

I am trying to get a web resource image to print on an SSRS report.

My development environment is running VS 2015, SQL Tools and BIDs (v9.0) and the report runs and displays the image.  

pastedimage1581790135923v1.png

When I move the report to CRM on-line, the report runs with no errors, but without showing the image.

pastedimage1581790219750v2.png

If I go to the Web Resource file, I can display the image. 

pastedimage1581790702949v6.png

When I try to pull the image from the report, I see that "data:image/gif;base64,..." has been added to the beginning of the image.  I have tried removing this various ways, but it does not work.  Anyone have a workaround for this?  Or some idea how I can debug this?   

  • _Jon_ Profile Picture
    _Jon_ 5 on at
    RE: D365 report not showing image from a WebResource file

    That worked fine - I will simply have to store all of the maps elsewhere, rather than with the solution.  

  • _Jon_ Profile Picture
    _Jon_ 5 on at
    RE: D365 report not showing image from a WebResource file

    Thank you for your time.  However this image is part of a report page that is requested by the user when we process their turn - we never know which one they might get.  There are 576 different maps that can be requested based on the turn being processed. 

    You can click on the image that you can't see and tell that it has the  "data:image/gif;base64,..." on the front of it.  I have tried to truncate this off, but the image still does not display.  The web resource is making it to the report.  I am going to try to use an external mapping and store the image on a web site to see if it can access it that way.

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: D365 report not showing image from a WebResource file

    Hi Jon,

    I have reproduced your issue successfully: the web resouce image link will be converted to "data:image/gif;base64,..." as what you had encountered.

    That's because you're trying to embed web resource as image file on report, 

    web resource could be only accessible when we're browsering inside CRM.

    You could export your web resource as a local file, then import it into your report.

    1. Open your web resouce in a new tab, right click the image and "Save image as..".

    2. In SSDT, select the image source to Embedded and click "Import..", select the specific format.(PNG in your case)

    pastedimage1581926840412v1.png

    3. Then you can see image.

    pastedimage1581926887960v2.png

    Regards,

    Clofly

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,946 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,420 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans