Hi i created a report in ax 2009. This report has a logo on it, when running this report in the server the logo shows but if the report was called via workstation the logo will not show.
I created resources for the logo.
i use this code to show the logo in the report
FilePath getEnkeiTUV()
{
#AOT
ResourceNode resourceNode;
FilePath filePathLogo;
;
breakpoint;
resourceNode = SysResource::getResourceNode(resourcestr(EnkeiTUV_bmp));
if (resourceNode)
{
resourceNode.AOTload();
filePathLogo = SysResource::saveToTempFile(resourceNode);
}
else
{
throw Error(strfmt(‘Resource Not Found’));
}
return filePathLogo;
}
//BP Deviation Documented
display FilePath showEnkeiTUV()
{
;
return element.getEnkeiTUV();
}
Please help me if you know how to fix this problem.