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')));
}
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.
Comments
Post a Comment