---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Configure the preview text setting for a standard article template

# Configure the preview text setting for a standard article template {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

Configure the preview text setting to customize the default preview text for a
standard article template.

## Vorbereitungen

Role required: admin

## Prozedur

1. Navigate to AllSystem DefinitionScript Includes.
2. On the Script Includes page, in the Name field, enter <kbd class="ph userinput">ArticleTemplateUtilSNC</kbd>.
3. Open the ArticleTemplateUtilSNC record.
4. On the ArticleTemplateUtilSNC page, copy the following code from the Script field.  

       setPreviewTextForStandardArticle: function(){
                     return null;
              },

5. On the Script Includes page, in the Name field, enter <kbd class="ph userinput">ArticleTemplateUtil</kbd>.
6. Open the ArticleTemplateUtil record.
7. On the ArticleTemplateUtil page, modify the code in the Script field by pasting the copied code as shown.  

       var ArticleTemplateUtil = Class.create();
                        ArticleTemplateUtil.prototype = Object.extendsObject(ArticleTemplateUtilSNC,{
                        type: 'ArticleTemplateUtil',
       		    setPreviewTextForStandardArticle: function(){
                                return null;
                        },
                        });

8. In the Script field, remove `null` and enter a preview text.
9. Select Update.

## Ergebnisse

The modified preview text displayed on the standard article template selector.

## Beispiel

The following code is modified to show custom preview text. You can also include HTML tags to modify the appearance of preview text.

    var ArticleTemplateUtil = Class.create();
                     ArticleTemplateUtil.prototype = Object.extendsObject(ArticleTemplateUtilSNC,{
                     type: 'ArticleTemplateUtil',
    		    setPreviewTextForStandardArticle: function(){
                             return 'Demo for standard article';
                     },
                     });


