ERP User GuideMicrosoft Dynamics 365 Business Central

Microsoft Dynamics 365 Business Central

Item Images

In Microsoft Dynamics 365 Business Central you can add item images and show them in the Sana webshop.

 NOTE

You can equally use the procedure which Sana provides out-of-the-box and Dynamics 365 Business Central to add product images. Using the standard Sana procedure you can add multiple images to each product while in Dynamics 365 Business Central you can add only one image to a product.

 Add an image to an item in Dynamics 365 Business Central

Step 1: Choose the Search for Page or Report icon and enter Items. Open the necessary item.

Step 2: In the item card window use the FactBox pane to add an image. Click: Picture > Import.

Step 3: Find the necessary picture and add it to the item.

Step 4: When images are added to the items in Dynamics 365 Business Central, run the Product import task in Sana Admin. Open Sana Admin and click: Tools > Scheduled tasks.

The Product import task retrieves product information from the database to build or update the webshop index.

Step 5: When the Product import task is completed, start the Product image import task.

 NOTE

Before running the task make sure that it is configured. Click Edit on the Product image import task and enable the setting Import product images from ERP. In the Separator field enter the symbol that will be used to separate product image information in the product image filename, like item number and order number.

For more information about product image import task, see "Scheduled tasks".

The Product image import task will retrieve all product images from Dynamics 365 Business Central, rename them according to the image file name format supported by the Sana webshop, and save all images to the 'ProductImages' directory of the Sana Commerce solution on the Web server.

Then, the Product image import task will automatically resize all product images from the 'ProductImages' folder and put them according to the size to the 'Small', 'Medium' and 'Large' folders. This is done because product images of three different sizes are used in the Sana webshop.

For more information about product image and image sizes, see "Product Images".

When the Product image import task is completed, product images from Dynamics 365 Business Central will be shown in the Sana webshop.

ERP User GuideMicrosoft Dynamics 365 Business Central