StrandsScriptGenerator GetCustomizedRendererScript Method Kentico 8.0 API Reference
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.StrandsRecommender
Assembly: CMS.StrandsRecommender (in CMS.StrandsRecommender.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

jQueryTransformation
Type: OnlineSystem String
Code of the transformation which will be used to render recommendation
templateID
Type: OnlineSystem String
ID of the Strands template which will be rendered using custom transformation (i.e. HOME-1)
placementID
Type: OnlineSystem String
Client ID of the element where transformation will be rendered

Return Value

Type: OnlineString
Generated JavaScript
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptionjQueryTransformation, templateID or placementID is null
See Also