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 :
Microsoft Dynamics CRM (Archived)

How to show Image with SSRS reports in BIDS

(0) ShareShare
ReportReport
Posted on by 1,044

I am building a SSRS report in BIDS for CRM 2011 on-premise. My report needs to show an image attached to the annotation ID of the record.

I have two images attached to one record and three records in total. What is happening is that when I run the report, the image is shown with the first record of the report only and that is not the record the image is attached too. Here is my sql query for the report.

select Annotation.DocumentBody, inmate_FirstName, inmate_LastName,inmate_MiddleName,inmate_BookingNumber, inmate_InmateNumber,inmate_DOB,inmate_Gender, inmate_BookingDate, inmate_Race

from new_bookingscreen1 left outer join Annotation on new_bookingscreen1.new_bookingscreen1Id = Annotation.ObjectId

What my guess is that when I add the image control in the report, it is just simply showing me the image and is not in anyway related to the report. As in there is no connection between the report query pasted above and the image control. How do I solve this?

I am using this =First(Fields!DocumentBody.Value, "DataSet1") in the expression field of the image tool. How do I bind the report query result to the image tool result?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi, HAMZA KHAN.

    Have you ever found your way out? How about building some 3rd party web-based image viewer with the help of some manual imaging tools which can be customized by users according to our own favors to help show Image with SSRS reports in BIDS? You can also google it and select one whose way of processing is simple and fast to help you with the related work. Remember to check its free trial package first if possible. I hope you success. Good luck.



    Best regards,
    Arron

  • HamzaKhan Profile Picture
    1,044 on at

    Yes i did find a way. The issue was in my query. I had to use CRM filtering to get the image bound to my record.

  • Cheungxin Profile Picture
    15 on at

    I'm just met the similar problem for adding image control in my project. Commonly, the 3rd party image viewer or any image control are always not complete free, only free to evaluate. So, I'd like to try it with CRM filtering.

    Thanks!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans