contentSelection Tag
The contentSelection tag denotes the definition of a set of Content Selection Applications.
The contentSelection tag contains one tag: add.
add Tag
This tag denotes a new Content Selection Application.
The following table lists the attributes of the add tag.
Attribute | Data Type | Description |
---|---|---|
name | String | The name of the Content Selection Application. This attribute is used as the reference to the application in the runtime.
This attribute is required. |
cacheName | String | The name of the data cache used by the application.
This attribute is required. |
selectionPipeline | String | The name of the pipeline used for selecting the appropriate content. This name should correspond to a pipeline defined in the <pipelines> section of the web.config file.
This attribute is required. |
eventPipeline | String | The name of the pipeline used for recording events. This name should correspond to a pipeline defined in the <pipelines> section of the web.config file. |
preloadCache | Boolean | Determines whether or not that cache will be preloaded on application startup. It is recommended to preload the cache for discount type caches if the OrderDiscount pipeline component is used within a transactional Business Processing pipeline.
The default value is False. This attribute is required. |
redirectURL | String | URL used for handling the click request for an advertisement or other piece of clickable content retrieved by the CSF. This attribute is optional. The default value is empty.
This attribute is required. |
Example
<contentSelection>
<add name="application-name"
cacheName="dependent cache name"
selectionPipeline="dependent csf pipeline name"
eventPipeline="dependent event pipeline name"
preloadCache="true|false"
redirectUrl="relative url"
/>
</contentSelection >
See Also
CommerceContentSelectionModule Class
Copyright © 2005 Microsoft Corporation.
All rights reserved.