Retrieves NodeClassID which will be used as category field in the Strands catalog feed.
Returned value can be changed easily by using different implementation of IStrandsCatalogCategoryMapper.
This can be done by calling ObjectFactory<IStrandsCatalogCategoryMapper>.SetDefaultObjectTypeTo<NameOfDifferentImplementation>() somewhere during Init phase.
Namespace: CMS.StrandsRecommenderAssembly: CMS.StrandsRecommender (in CMS.StrandsRecommender.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- catalogItem
- Type: CMS.DocumentEngine TreeNode
Document
Return Value
Type: StringCategory field specified by implementation of IStrandsCatalogCategoryMapper
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | Parameter catalogItem is null |
See Also