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

Display product image in ax 2012

(0) ShareShare
ReportReport
Posted on by 3,089

Dear Experts,

I know it's a silly question but anyhow.

I have one x++ report for inventory and need to display the product image on this report.

May I know how can i do this.

Regards,

Ahmed

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,025 Super User 2025 Season 2 on at

    Hi Ahmed,

    Are you really using an x++ (morphX) report or are you using SSRS?

  • Ahmed Muhammad Alam Profile Picture
    3,089 on at

    Hi Andre,

    Actually it's an old report and currently not enough space to convert it into SSRS, so that's why I need to know.

    Regards,

    Ahmed

  • Verified answer
    Ahmed Muhammad Alam Profile Picture
    3,089 on at

    Dear Experts,

    Thank you so much to express your interest in my case. Actually, I solved it by this way.

    ItemId _itemid;

    InventTable _inventTable;

    DocuRef _docuRef;


    Bitmap                  _bitmapProducImage;

    BinData _binData;
    str _inventImageFilePath;

    _itemid = "SX001582";
    _inventTable = InventTable::find(_itemid);

    _docuRef = DocuRef::find("bakh", _inventTable.RecId);

    _inventImageFilePath = _docuRef.completeFilename();


    _binData = new BinData();


    _binData.loadFile(@_inventImageFilePath);
    _bitmapProducImage = _binData.getData();


    info(strFmt("File Path : %1 ", _inventImageFilePath));

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans