{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":47616,"path":"servicenow-platform/knowledge-management/create-template-standard-article.md","title":"Configure the preview text setting for a standard article template","bundle":null,"doc_type":null,"release":"australia","body":"\n# Configure the preview text setting for a standard article template\n\nConfigure the preview text setting to customize the default preview text for a standard article template.\n\n## Before you begin\n\nRole required: admin\n\n## Procedure\n\n1.  Navigate to **All** &gt; **System Definition** &gt; **Script Includes**.\n\n2.  On the Script Includes page, in the **Name** field, enter `ArticleTemplateUtilSNC`.\n\n3.  Open the ArticleTemplateUtilSNC record.\n\n4.  On the ArticleTemplateUtilSNC page, copy the following code from the **Script** field.\n\n    ```\n    setPreviewTextForStandardArticle: function(){\n                  return null;\n           },\n    ```\n\n5.  On the Script Includes page, in the **Name** field, enter `ArticleTemplateUtil`.\n\n6.  Open the ArticleTemplateUtil record.\n\n7.  On the ArticleTemplateUtil page, modify the code in the **Script** field by pasting the copied code as shown.\n\n    ```\n    var ArticleTemplateUtil = Class.create();\n                     ArticleTemplateUtil.prototype = Object.extendsObject(ArticleTemplateUtilSNC,{\n                     type: 'ArticleTemplateUtil',\n    \t\t    setPreviewTextForStandardArticle: function(){\n                             return null;\n                     },\n                     });\n    ```\n\n8.  In the **Script** field, remove `null` and enter a preview text.\n\n9.  Select **Update**.\n\n\n## Result\n\nThe modified preview text displayed on the standard article template selector.\n\n## Example\n\nThe following code is modified to show custom preview text. You can also include HTML tags to modify the appearance of preview text.\n\n```\nvar ArticleTemplateUtil = Class.create();\n                 ArticleTemplateUtil.prototype = Object.extendsObject(ArticleTemplateUtilSNC,{\n                 type: 'ArticleTemplateUtil',\n\t\t    setPreviewTextForStandardArticle: function(){\n                         return 'Demo for standard article';\n                 },\n                 });\n```\n\n**Parent Topic:**[Configure knowledge article templates](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/servicenow-platform/knowledge-management/configure-knowledge-article-templates.md)\n\n"}}