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 AX (Archived)

how to add attach images on ssrs report AX2012

(0) ShareShare
ReportReport
Posted on by

To print Attachment image of fixed asset on report SSRS, have a display method here.

display Filename getImg()
{

DocuRef docuRef;
DocuValue DocuValue;
FileName fileName;
Image image;
container imageCont;
Bitmap ret;
;

select docuRef
join DocuValue
where DocuValue.RecId == docuRef.ValueRecId &&
docuRef.RefTableId == this.TableId && //fixed asset table id
docuRef.RefRecId == this.RecId && // fixed asset table recid
docuRef.TypeId == 'IMG';
return docuRef.completeFilename();

}

we must have a shared folder for it, we will give path of this folder to our expression img box and in system admin as well.

1. path of shared folder in System admin module.

systemAdminparm.png

2. Organization administration.

setup-->document management --> document management parameter.

ORGNIZATION-ADMIN.png

3. Organization administration.

setup-->document management --> document type.

doctype.png

now after this, we call our display method in expression of ssrs.

="File:///" & Fields!getImg1.Value

if you read the code our display method return the full path of shared folder so here by that path we get file from that folder.

cheeeers !!!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    BrandonSA Profile Picture
    1,673 on at

    Hi

    I don't think that's how you display an image like that in SSRS.

    Please read this and correct your design/architecture accordingly

    docs.microsoft.com/.../add-a-data-bound-image-report-builder-and-ssrs

  • Suggested answer
    Sukrut Parab Profile Picture
    71,735 Moderator on at

    You can look at any standard report and see how images are displayed . For example , salesInvoice report which shows company logo .

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 AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Andrew Jones a1x Profile Picture

Andrew Jones a1x 2

#3
Basit Profile Picture

Basit 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans