Field templates and display templates
This section explains how the display templates and field templates are generated and how to change the default names.
The inRiver connector generates the following templates and display templates:
1. Article field template and article display template.
2. Product group field template and its display template.
If a template with the same name is found in Litium Studio, that template will be used.
The connector initializes to use the same names as in Litium Accelerators. You can change these names from the connector settings:
\\Program Files\inRiver AB\inRiver Connect\OutboundConnectors\Litium.Studio.AddOns.InRiver.dll.config
- articleDisplayTemplateName: name of the 'LitiumStudio display template' used in the 'Litium Studio article field template'.
- articleTemplateName: Litium Studio article field template name.
- productGroupDisplayTemplateName: Litium Studio product group display template name.
- productGroupTemplateName: Litium Studio product group field template name.
Following is an example configuration:
<pluginSettings
....
articleNumberFieldTypeId=""
articleDisplayTemplateName="Accelerator variant listing"
articleTemplateName="Accelerator variant listing"
articleDisplayImageLinkTypeId="PrimaryImage"
articleUrlSuggestionFeildTypeIds="ItWebCategory, ItItemName"
productGroupDisplayTemplateName="Accelerator product group"
productGroupTemplateName="Accelerator product group"
productGroupDisplayImageLinkTypeId="ChannelNodeResource"
....
>
</pluginSettings>
Display image of a field template
You can set which field will be the display image of the field template by specifying following two parameters in the config file as shown above.
- articleDisplayImageLinkTypeId
- productGroupDisplayImageLinkTypeId
See more information about images and files in the article named "Images and files".