Returns code which registers custom rendering function and declaration of the rendering function. jQuery templates library has to be included in order for this code to work.
Namespace: CMS.StrandsRecommenderAssembly: CMS.StrandsRecommender (in CMS.StrandsRecommender.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- jQueryTransformation
- Type:
System String
Code of the transformation which will be used to render recommendation
- templateID
- Type:
System String
ID of the Strands template which will be rendered using custom transformation (i.e. HOME-1)
- placementID
- Type:
System String
Client ID of the element where transformation will be rendered
Return Value
Type:
Generated JavaScript
Exceptions
Exception | Condition |
---|---|
![]() | jQueryTransformation, templateID or placementID is null |
See Also