PIMinRiver

inRiver

Retrieve Product Images from inRiver

Sana supports the following image file formats: png, bmp, gif, jpg, jpeg. In inRiver all images are considered as the Resource target entity type. The Resource entity type represents a file. You can fetch product resources (files) from inRiver and transfer them to Sana.

You need to create product-to-resource relations in inRiver and then create a server setting.

Step 1: To find the necessary relation in inRiver, open the inRiver Product Model. On the right side of the page you will see 2 sections: Included in and Includes. You need to click on Includes to see the list of relations, because the product-to-resource relation is the parent-to-child relation.

Step 2: You can create a new relation or use the already existing relations. If you create a new relation, the target entity type of this relation must be Resource. Since the resource entity type links to the Product Model in inRiver, such relation is considered as product-to-resource in inRiver and is used for the Sana images.

On the screenshot below you can see several link types with the Resource target entity type. You need the Link Type Ids you are going to use. Link Type Ids are necessary to create a server setting. You can use one or several relations to create a server string.

For example, you want to transfer the Product Images and Resources relations to Sana. Then you need the Link Type Ids of these relations, which are: SanaImages and ProductResource.

Step 3: Create the server setting for the product-to-resource relations. Go to the Settings in the inRiver Control Center and create the SANA_PRODUCTIMAGES_RELATIONS server setting.

Then you need to create a server setting value. Combine the Link Type Ids of the relations you are going to use in a single string. The strings should be separated with semicolon.

After combining the strings, the setting string will look like this:

SanaImages;ProductResource

You need to add this string to the value of the SANA_PRODUCTIMAGES_RELATIONS server setting.

Step 4: When the server setting is created, you need to rebuild the product index. Open Sana Admin and click: Tools > Scheduled tasks. Run Rebuild index for the Product import task. When the Product import task is completed, start the Product image import task. Make sure that the setting Import product images from ERP is enabled for the Product image import task.

If product images are added to the products in the inRiver Enrichment Portal, then product images from inRiver will be available in the Sana web store.

PIMinRiver