Support Center Customization
The support center is fully HTML supported and you can change the templates within its HTML code.
- Go to Touchpoints > Support Center and click the Page Templates tab.
Result: The HTML Master page set-up is displayed, which you can then customize using placeholders (documented here).
- Use the special syntax in the tables below to insert the dynamic content (i.e article body) to your pages.
Table 1. Entity Selector Placeholders Attributes
Syntax
Description
Name
Type
< nR:Entity type="label" id="B025" >
Selects the specified label by ID
label
Entity Selector
< nR:Entity type="article" id="B025" >
Selects the specified article by ID
article
Entity Selector
Table 2. Repeater Placeholders Attributes
Syntax
Description
Name
Type
labelId = -1 articles with no parent labellabelId = < %Label.ID% > current label ID, maxItems, sort(=faq), days
< nR:Repeater type="article" sort='faq' labelId='1234' > ... < /nR:Repeater >
Repeater's enclosed code for each article in the specified enumeration. For information on sorting articles in your Support Center, see How to change the sorting of support center articles
article
Repeater
labelId, maxItems, sort(=faq), days
< nR:Repeater type="attachment"> ... < /nR:Repeater >
Repeater's enclosed code for each attachment for current article
attachment
Repeater
< nR:Repeater type="phrasings"> ... < /nR:Repeater >
Repeater's enclosed code for each phrasing for current article
phrasing
Repeater
type='root'/'all'/'nestedUnder/list' maxItems='10' (OPTIONAL)
< nR:Repeater type="label"> ... < /nR:Repeater >
Repeats for each Label
Label
Repeater
< nR:IF condition="Site.IsMultiKB" > < nR:Repeater type="language" > < a href="< %Lang.URL% >" >< %Lang.Code% >< /a > < /nR:Repeater > < /nR:IF > Repeats for each separate language KB Language KB Repeater Table 3. Value Placeholders Attributes
Syntax
Description
Name
Type
< %Site.Name% >
Configured site name
Site.Name
Value
< %Site.Domain% >
Configured site domain
Site.Domain
Value
< %Site.URL% >
Configured site URL (includes http/s)
Site.URL
Value
< %Site.Account% >
Configured site Account
Site.Account
Value
< %Site.KBID% >
Current knowledge-base ID
Site.KBID
Value
< %Label.Name% >
Label name
Label.Name
Value
< %Label.ID% >
Label ID
Label.ID
Value
< %Label.Link% >
Link to dedicated label page
Label.Link
Value
< %Label.Count% >
Amount of elements in label
Label.Count
Value
< %Label.PositionInPath% >
0 based index of position in current path, -1 returned if label is not in path
Label.PositionInPath
Value
< %Article.ID% >
Article.ID
Value
< %Article.Title% >
Article.Title
Value
< %Article.Body% >
Article.Body
Value
< %Article.Link% >
Article.Link
Value
< %Article.AttachmentCount% >
Article.AttachmentCount
Value
< %Article.Attachment.URL% >
Article.Attachment.URL
Value
< %Article.Attachment.Name% >
Article.Attachment.Name
Value
< %Article.MetaDescription% >
Articles Meta-Description
Article.MetaDescription
Value
< %Article.PhrasingCount% >
Article.PhrasingCount
Value
< %Article.Phrasing% >
Article.Phrasing
Value
< %Repeater.Ordinal% >
The ordinal for current repeater loop
Repeater.Ordinal
Value
Use in condition "Page.Type=Home" to check page type:Home/Label/Article
< %Page.Type% >
Determines the current page type
Page.Type
Value
checks if current Label is the current page label
< nR:IF condition= "Article.IsPageArticle" >
Article.IsPageArticle
Value (condition only)
check if the current Article is the current page article
< nR:IF condition= "Label.IsPageLabel" >
Label.IsPageLabel
Value (condition only)
< %Site.NanorepDomain% >
Places Digital DX AI servers domains
Site.NanorepDomain
Value
< %Page.Error% >
The error that is displayed