Screen fields
Summarize
Summary of Screen Fields
Screen fields enhance the usability of form screens in ServiceNow, allowing users to view and edit attachments, complete checklists, and display fields without labels. When configuring a details screen, selected fields create corresponding Screen Field records that can be modified to improve presentation and usability.
Show less
Key Features
- Text: Displays text from any field, with an option to show without a label.
- Percentage: Shows percentage values, utilizing decimal inputs to represent percentages, also with a label-less option.
- Image: Displays an image linked from the attachment table; users can preview images.
- Attachment: Shows all record attachments, allowing users to rename or delete them.
- Video: Embeds a video link from an external source, viewable in a new window.
- File: Displays a PDF preview, allowing users to scroll and zoom.
- HTML: Shows HTML content from the record.
- Checklist: Displays checklist items for completion tracking.
- Date: Shows date values with an option for label-less display.
- Stage: Displays read-only approval or completion statuses for requested items.
- Scripts: Dynamically displays field values based on scripts without altering database values.
Key Outcomes
By utilizing screen fields, ServiceNow customers can improve the presentation of information, enhance user experience, and provide access to multimedia elements within forms. This flexibility enables better interaction with data, streamlines workflows, and supports efficient record management.
Screen fields improve the usability of your form screens. With screen fields, your users can view and edit attachments, view and complete checklist items, or display a field without a label.
When configuring a details screen, you select fields to display on your form. When you save the details screen, the instance creates a Screen Field [sys_sg_screen_field] each selected field. You can modify these records to change the screen field type. Change the screen field type to change how your information is presented, and improve the appearance and usability of the screen for your users.
Screen field types
| Text
Use a text screen field to display text on your form. This text can come from any field on the current record. The text field type has a Value only option, which displays the field without a label. In this example, the Description field is shown without a label. |
|
| Percentage
Use a percentage screen field to display a percentage value on your form. This value comes from a field on the current record. Percentages are determined by using a decimal value. For example, a value of 0.35 displays in a percentage field as 35%. This field type has a Value only option, which displays the field without a label. |
|
| Image
Use an image screen field to display an image on your form. The value for this field comes from an image field or field that contains the sys_ID of an image in the Attachment [sys_attachment] table. Users can tap an image to open a preview screen to display the full image. |
|
| Attachment
Use an attachment screen field to display all the attachments of a record. Buttons to rename or delete attachments display automatically for your users. Users can tap a button to modify attachments. |
|
| Video
Use a video screen field so that your users can watch a video in your form. The video screen field gets its value from a field on your current record and contains a link to a video. The video must be externally hosted. Users can see the video in a new window when they tap Play Video. |
|
| File
Use a file screen field to display a PDF file
within your form. The PDF displays as a preview on your form. Users can tap the
preview ( |
|
| HTML
Use an HTML screen field to display HTML content within your form. The HTML screen field can get its value from an HTML field in your current record or a string field that contains an HTML code. |
|
| Checklist
Use checklist screen fields to display all the checklist items that are associated with a record. Users can tap individual checklist items to mark them as complete or incomplete. |
|
| Date
Use a date screen field to display a date value on your form. This value comes from a date or date/time field on the current record. Dates are displayed in the format that are defined by your instance. This field type has aValue only option, which displays the value of the field without the field label. If the field is configured with an action function, users can change the values of these fields. For more information, see Configure an action function. |
|
| Stage
Use stage fields to display a read-only
approval or completion status of requested items and services. Stage fields are
displayed under the following conditions:
|
|
| Scripts Use the script screen field in record screens to display dynamic field values. The script runs to determine the field value before it displays in your form. The value returned by the script doesn’t replace the database value. For example, you can display translated content for dynamic variables within an email. |