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 :

Upgrading Reports to D365FO – Images

DaxNigel Profile Picture DaxNigel 2,574

When you have images embedded in to an SSRS report in AX2012 you can move them to D365FO by copying the data from the AX2012 XPO directly into the D365FO xml file.

Step 1: Export the report from the AX2012 AOT.

Step 2: Search the XPO for the <EmbeddedImage Name=”XXXXXXXLogo”>

Step 3: Copy the contents from the

<MIMEType>image/jpeg</MIMEType>
#      <ImageData>….
#.
#.
#.</ImageData>

Step 4: Paste this information into a new text file

Step 5: Remove the leading # from the lines. This is easy to complete if you use NotePad++, using the Alt + Shift control.

Step 6: Add the following header to the new file:

<Base64Data xmlns="Microsoft.Dynamics.AX.Metadata.V2">

Step 7: Add the following footer to the new file:

</Base64Data>
<MimeType xmlns="Microsoft.Dynamics.AX.Metadata.V2">image/jpeg</MimeType>

Step 8: In D365FO open the report and create an embedded image. Name it the same as the AX2012 image. Ensure you save the result.

Step 9: Open the XML file into NotePad (I prefer NotePad++). The xml file should be located in the AOT store location: AOSService\PackagesLocalDirectory\<Model>\<Model>\AxReport

Step 10: Located the following:

<AxReportEmbeddedImage xmlns="">
    <Name xmlns="Microsoft.Dynamics.AX.Metadata.V2">XXXXXXXLogo </Name>
</AxReportEmbeddedImage>

Step 11: Paste the new file text after the

</Name>

Step 12: Save XML file.

You need to repeat this for each embedded image.


This was originally posted here.

Comments

*This post is locked for comments