PIMinRiver

inRiver

Getting Started with inRiver

Configuring Sana in inRiver can be a bit challenging. You need to go through quite a few steps to correctly synchronize the data between Sana and inRiver and create a stunning, visually appealing catalog for your customers. This section provides detailed information about how to configure inRiver and how to create the best catalog for your Sana web store using inRiver.

In case for now you just need to play around with inRiver, get the general idea of what inRiver is and how it works, then you can refer to this article. In this article you will find the information about basic configuration of inRiver. You will learn how to pass the core data from inRiver to Sana, create the basic catalog for your web store and make sure that everything works fine before configuring other settings and creating other data.

What is the Structure of inRiver?

Entities are an important part of your Product Model. The model contains different types of entities, called Entity Types. Product, Item, Resource, and Task are examples of entity types. Each entity contains different fields. What types of entities you will use in your model depends on your needs.

To create the catalog, you need to correctly map the inRiver entities and fields to Sana. The inRiver data is passed to Sana through the server settings. Each server setting consists of Key and Value.

Those server settings which are used for passing product data from inRiver to Sana have a certain structure, for example:

Key: SANA_ITEM_TITLEFIELD; Value: ProductName.

In this case, the Item entity type is the main sellable entity and it is used to create the setting. Nevertheless, depending on your needs any other entity type with different set of fields can be used.

For more information, see Product Entities and Fields in inRiver.

Create the Basic inRiver Configuration

In this article you will learn how to map inRiver entities and fields to Sana and create the configuration like on the screenshot below.

The following entity types and fields are used to create this configuration:
                   Item - sellable entity.
                                Item entity type fields: ProductTitle, GrossWeight, ItemNo.
                   Product - parent entity used for grouping (relation based on ProductDetails field from the Item entity).    ProductDetails is a field which connects Item entity type and Product entity type.
                                Product entity type fields: ProductDescription, Brand

Choose the Sellable Entity

The first thing you need to do is to choose which inRiver entity type will represent the product from your ERP system. The entity which represents the product from the ERP system is called a sellable entity. The selected sellable entity will be used for the creation of the server settings in inRiver. In our case it is the Item entity type, but you can use any other entity type or several entity types as sellable entities, if necessary.

For example, the setting which is used to pass product description from inRiver to Sana will look in following way: SANA_ITEM_DESCRIPTIONFIELD. If you selected any other entity type as sellable entity, then it must be used to create server settings.

Once you selected the necessary sellable entity, you must create a server setting for it. Go to the Settings in the inRiver Control Center. Create the SANA_PRODUCT_ENTITY_TYPES server setting and add Item to its value. You can add several entity types separating them with a semicolon (;), if necessary.

The server setting should look in the following way: the key is SANA_PRODUCT_ENTITY_TYPES and the value is Item.

Only after this sever setting is created you can start creating other server settings which are necessary for the catalog creation and other purposes.

Retrieve Product IDs from inRiver

You can create product IDs in inRiver, import them to Sana and use them in your Sana web store.

You need to determine which field from inRiver to use as a product ID and then create the inRiver server setting.

For example, the field ItemNo from inRiver is going to be used to pass product IDs from inRiver to Sana. Now you need to create a server setting.

Go to the Settings in the inRiver Control Center. Create the SANA_ITEM_ID_FIELD_TYPE server setting. The Item sellable entity is used to create the server setting. Add ItemNo to the value of this setting.

For more information, see Retrieve Product IDs from inRiver.

Retrieve Product Titles from inRiver

You can create product titles in inRiver, import them to Sana and use them in your Sana web store.

You need to determine which field from inRiver to use as a title and then create the inRiver server setting.

For example, the field ProductTitle from inRiver is going to be used to pass product titles from inRiver to Sana. Now you need to create a server setting.

Go to the Settings in the inRiver Control Center. Create the SANA_ITEM_TITLEFIELD server setting. The Item sellable entity is used to create the server setting. Add ProductTitle to the value of this setting.

For more information, see Retrieve Product Titles from inRiver.

Retrieve Product Descriptions from inRiver

You can create product descriptions in inRiver, import them to Sana and use them in your Sana web store.

You need to determine which field from inRiver to use as description and then create the inRiver server setting.

Description can be a part of a source entity or a part of the related entities. The structure of the server setting will be different, depending on from which entity you need to pass description to Sana.

For example, the field ProductDetails.ProductDescription from inRiver is going to be used to pass product descriptions from inRiver to Sana. In this case ProductDescription is the field retrieved from the ProductDetails related entity.

Now you need to create a server setting. Go to the Settings in the inRiver Control Center. Create the SANA_ITEM_DESCRIPTIONFIELD server setting. The Item sellable entity is used to create the server setting. Add ProductDetails.ProductDescription to the value of this setting.

For more information, see Retrieve Product Descriptions from inRiver.

Retrieve Product Specifications from inRiver

All fields from the sellable entity, in our case it is Item, are automatically available for the usage as product specifications. Nevertheless, you can also enrich product specifications using the fields from the parent entity, in our case it is Product.

To do this, you need to create a server setting. Go to the Settings in the inRiver Control Center. Create the SANA_ITEM_RELATIONS server setting. The Item sellable entity is used to create the server setting.
We are going to use the related entity ProductDetails to create a setting. Add ProductDetails to the value of the SANA_ITEM_RELATIONS setting.

As a result, all fields from ProductDetails will be retrieved and will be available for the usage as product specifications.

The following two fields are necessary for our configuration: GrossWeight and Brand. In this way, the GrossWeight field is retrieved from the Item source entity and the Brand field is retrieved from the Product parent entity.

For more information, see Entity Relations.

Import Data from inRiver to Sana

When a server setting is created, you need to rebuild the product index. Open Sana Admin and click: System > Scheduled tasks. Run Rebuild index for the Product import  task. Then, refresh the site cache.

Make sure that the product ids, tittles, descriptions and specifications are created in the inRiver Enrichment Portal. After product index is rebuilt, all this data from inRiver will be available in the Sana web store.

PIMinRiver