Return a canonical URL for a knowledge article |
Modify the generateCanonicalURL
function to return the fully qualified canonical URL of a
knowledge article as a string. For example, use the
following URL format for a knowledge article in the
customer service portal: "https://<instance
name>.servicenow-com/csp?id=kb_article_view&sysparm_article=<article
number>" |
Return an hreflang tag for
translated versions of a knowledge article |
Modify the generateHrefLangArray
function to return an hreflang array
for the current language and the available translations for
a knowledge article. For example, use the following format
for a knowledge article translated in French in the
customer service portal: [{locale:'fr', href:
'https://<instance
name>.servicenow-com/csp/fr?id=kb_article_view&sysparm_article=<article
number>'}] |
Return a custom header for a knowledge article |
Modify the generateCustomTagsForSEO
function to return any custom header tags as an array of
strings used for the knowledge article view page. For
example, use the following format for a custom tag for a
knowledge article: ['<meta custom-tag=""
property="og:title" content="Service
Portal">'] |