web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • Verified answer
    Ahmed Muhammad Alam Profile Picture
    3,089 on at
    RE: Display product image in ax 2012

    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));

  • Ahmed Muhammad Alam Profile Picture
    3,089 on at
    RE: Display product image in ax 2012

    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

  • André Arnaud de Calavon Profile Picture
    297,572 Super User 2025 Season 2 on at
    RE: Display product image in ax 2012

    Hi Ahmed,

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

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans