mandag den 14. november 2016

Dynamics AX 2009 Ressources graphics

Here's how to get graphics stored in AOT as a ressource onto a report in Dynamics AX 2009.

Do a display method with:

display Bitmap  companyLogo()
{
    return SysResource::getResourceNodeData(SysResource::getResourceNode(identifierstr('zabel_JPG')));
}

where zabel_jpg is the graphics file stored in ressources in the AOT.

Drag the method onto the design.