---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Checklist component setup

# Checklist component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 5 minutes to read  
The Checklist component shows items with a check box to mark them as completed or pending.

## Before you begin

This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see [Customize UI Builder pages using components](https://www.servicenow.com/docs/YMtTz79hYjmj5_kMcObIuA "Learn what a component is in UI Builder. Also, see how components work within UI Builder.").  
Note:  
This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component.

Role required: admin or ui_builder_admin

## Procedure

1. Define a label for your Checklist that differentiates it from other components in the content tree.  
   A label makes finding the component easier in a large list of components. For instructions on using the content tree, see [Manage UI pages and page variants](https://www.servicenow.com/docs/Hq7OFdFRjvDFnNsfdtsMGw "Learn what a page is in UI Builder. Understand the building blocks of a UI Builder page, such as column layouts and components.") .

2. Select the Checklist component, using one of these methods:
   * Click anywhere within the component.
   * Select the Checklist label you created for your component in the content tree.

   {#checklist-component-setup__choices_aky_htb_wrb}  
   The property fields appear in the Config tab in the setup panel on the right.

{#checklist-component-setup__steps_zjy_htb_wrb}

## Checklist component properties {#ariaid-title2}

Configure the Checklist component with these properties.
To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.

* Data binding: Creates dynamic property values from multiple sources. Sources include state variables (@state), URL variables (@context), or data resource payloads (@data). For details, see [Add and configure data resources to a
  page](https://www.servicenow.com/docs/~B53KgSqh6jyRj9wmzg8LA "Add data resources to dynamically expose data from tables, records, or other elements on your page in UI Builder.") .
* Scripting: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://www.servicenow.com/docs/JxkxcsWDJlkywLr4rc~p8A "Create and bind a client state parameter value to a component in UI Builder. By adding custom values to your components, these components can then be automatically updated through a script.") .
{#checklist-config-properties__choices_4jq_bp0_csl}  
{#checklist-config-properties__table_yjl_ydz_5wb__entry__2}

| Label \[property\] | Description |
|-|-|
| Size \[size\] | Size of the checklist. Options are: * Small: Sets the size at 20 px * Medium: Sets the size at 24 px {#checklist-config-properties__ul_clt_xnd_kfc} Default: Medium |
| Prefixes \[prefixType\] | Determines if checkboxes will be ordered, and provides options for numeric or alphabetic prefixes. Options are: * None * Numeric * Alphabetic {#checklist-config-properties__ul_pmg_wnd_kfc} Default: None |
| Checkbox items \[checklistData\] | JSON object with the configuration of the items to show in the checklist. Object properties: * `itemId`: Unique identifier for the checklist item * `checked`: To mark the checklist item as selected when the list loads, set to true * `required`: To mark the checklist item as required, set to true. Enabling this property adds a \* next to the item. * `disabled`: To disable the checklist item, set to true. Disabled items are not selectable. * `readonly`: To mark the checklist item as read-only, set to true. Read-only items are not selectable. * `invalid`: To mark the checklist item as invalid, set to true. * `order`: The order of the item in the checklist. * `label`: Label to display for the checklist item. * `hasLink`: To identify that the checklist item has a link, set to true. Requires `link` configuration. * `errorMsgForLabel`: Error message to display when unable to display the checklist item's label. * `link`: Configuration of link properties. * `url`: Link URL. * `text`: Link text. * `errorMsgForLink`: Error message to display when the link URL has issues. {#checklist-config-properties__ul_vnv_j5d_kfc} {#checklist-config-properties__ul_inb_wqd_kfc} Default: [ { "itemId": "checkbox_0", "checked": false, "required": true, "order": 0, "label": "this is item 0", "hasLink": true, "link": { "url": "javascript:void(0)", "text": "sample link 0" } }, { "itemId": "checkbox_1", "checked": false, "order": 1, "label": "this is item 1", "hasLink": true, "link": { "url": "javascript:void(0)", "text": "sample link 1" } }, { "itemId": "checkbox_2", "checked": false, "order": 2, "label": "this is item 2", "hasLink": true, "link": { "url": "javascript:void(0)", "text": "sample link 2" } }, { "itemId": "checkbox_3", "checked": false, "order": 3, "label": "this is item 3", "hasLink": true, "link": { "url": "javascript:void(0)", "text": "sample link 3" } } ] |
| Open links in a new window \[opensWindow\] | To open links in a new window or tab (depending on user's browser configuration), set to true. Default: false |
| Allow editing \[allowEditing\] | To enable the end user to edit the checklist, set to true. Users can add, edit, or delete checklist items and links. Users can also reorder items in the list by dragging and dropping them. Default: false |
| Show edit mode \[isEditMode\] | Available when Allow editing is set to true. To load the checklist directly in edit mode, set to true. Default: false |
| Disable add link \[disableAddLink\] | Available when Allow editing is set to true. To disable the Add link button, set to true. Default: false |
| Checklist Edit options \[checklistEditOptions\] | Available when Allow editing is set to true. JSON object containing field-interactivity options to show in the edit mode. Each configuration is a boolean property, enabling any adds its corresponding toggle under the checklist item. Default: { "required": false, "disabled": false, "invalid": false, "readonly": false } |
[Table 1. Data and display]

{#checklist-config-properties__table_yjl_ydz_5wb} {#checklist-config-properties__table_cgd_zpz_5wb__entry__2}

|   |   |
|-|-|
| Empty state title \[emptyStateTitle\] | Primary text to display in the empty state message. |
| Empty state message \[emptyStateMsg\] | Secondary text to display in the empty state message. |
| Show loading spinner \[showLoadingSpinner\] | Displays a loading spinner to an end user to indicate that the system is loading data or saving the users change's to the checklist. |
[Table 2. Empty state]

{#checklist-config-properties__table_cgd_zpz_5wb}

## Checklist component events {#ariaid-title3}

Select event handlers to configure the actions (events) provided with the Checklist component.
The Events tab shows the events used by the Checklist component. To view the available events, select + Add event mapping. Select the event in the list to add one or more event handlers.

### Event handlers {#checklist-config-events__section_afb_sgz_5wb}

Event handlers work with data resources to link the Checklist actions to the data you want to display to your users. Select the event in the list to add one or more event handlers.

For instructions on adding event handlers to an event, see [Configure an event handler](https://www.servicenow.com/docs/8s23OEG1s5oowl~vaOUlLw "Add an event handler to a page, component, data resource, or declarative action within UI Builder so that your user can trigger an action.").
{#checklist-config-events__table_orv_4cc_wrb__entry__2}

| Event | Description |
|-|-|
| Item link clicked | Link text is clicked for any checklist item. The event payload contains the following: * itemId (string) * link * text (string) * url (string) {#checklist-config-events__ul_s11_vgh_wrb} {#checklist-config-events__ul_xqp_p2h_wrb} |
| Item clicked | A checklist item is checked or unchecked. The event payload contains the following: * checked (true/false) * itemID (string) {#checklist-config-events__ul_xxx_dhh_wrb} |
| Edit clicked | User selects the Edit action to put the checklist into edit mode |
| Edit cancelled | User selects the Cancel action to leave edit mode |
| Save clicked | User selects the Save action in edit mode to save changes to the checklist. Payload: * actionType * data {#checklist-config-events__ul_gpq_kn4_mtb} |
[ ]

{#checklist-config-events__table_orv_4cc_wrb}  
Checklist event handler script

The following script can serve as the event handler for both the Item link clicked and Item clicked events:

    /**
     * @param {params} params
     * @param {api} params.api
     * @param {any} params.event
     * @param {any} params.imports
     * @param {ApiHelpers} params.helpers
     */
    function handler({
        api,
        event,
        helpers,
        imports
    }) {
        console.log(event.payload);
        // const {itemId, checked} = event.payload;
        api.setState('payload', JSON.stringify(event.payload));
    }


