![](https://attachments-us1-cloud-deskpro-com.s3.amazonaws.com/files/33190/3677/3676812QCSGPTHJRXRCHYP0-1661417672501.png)
To learn how to add images from Dynamics to a Lasernet report see:
For links to the examples that accompany this article:
If necessary, images can be saved outside of Dynamics 365 FO. This article will explain how to use alternative storage options to add images to a Dynamics 365 FO report.
Examples will be provided on how to use the Lasernet Form Editor Image function to retrieve images from the alternative storage using information from the XML produced by the Lasernet Connector. In these articles, we will add product images to a sales quotation from File Storage and from Azure Storage.
Prerequisites and Best Practice
1. Create a repository of images that will follow reliable naming conventions. When using alternative storage, file names and path information will not be stored in Dynamics 365 FO. It is therefore important to apply the naming conventions used for the image files to retrieve the appropriate image.
2. If using Azure Storage, a container needs to be created. This can be done in the Azure Portal by navigating to the correct storage account and selecting New Container.
In this case, we have product images and have named the image using the item Id, followed by the color Id, followed by the size Id.
4. Ensure the Lasernet Server will have access to this storage.
Lasernet Connector Setup
On the Lasernet Connector side, we will add all the needed information regarding the location and name of the image to the XML.
1. Open the report in Lasernet > Common > Reports.
2. Add the table InventDim under CustQuotationTrans.
Example 1: File System Storage
Having taken the steps outlined on this page, it will now be necessary to add the actual images. For a detailed walkthrough of how to add images from the File System, see: Using File System storage options to add images to a Dynamics 365 Finance and Operations report.
Example 2: Azure Storage
For a detailed walkthrough of how to add images from Azure Storage, see: Using Azure Storage options to add images to a Dynamics 365 Finance and Operations report.
Add a comment
Please log in or register to submit a comment.