---
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


---

# Form Templates component setup

# Form Templates 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 Form Templates component enables you to create and update pre-existing templates to automate data entry on reoccurring records.

## Before you begin

This component contains a preset configuration. Presets
automatically configure properties and event handlers for a component, making the
component ready to work when you add it to a page. You can apply one preset to a single
instance of a component on a page. For more information, see [Automatically configure components using presets](https://www.servicenow.com/docs/eFRoznvnJXSEND1RjAXpSg#presets "Use component presets to automatically configure components on compatible pages.") .

A preset connects to a controller, which acts as a data
resource for the component. Controllers provide the configuration data and event binding
the component needs to function in your experience. For more information see [Bind data to UI pages using controllers](https://www.servicenow.com/docs/P52VaYAm9py9PHh7UM81~A#controllers "Controllers simplify the linking of data and event logic to enable component presets in UI Builder.") .

You can apply one preset to a single instance of a component on a page. There are two types of controllers available: the UI page controller and the Record controller. The Record controller retrieves
metadata and configurations for the page definition. UI page controllers retrieve data related to page behavior, such as component preference states and cross-component behaviors.  
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 Form Templates 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.") .

   ![Shows the Form Template component in the content tree.]()  
2. Select the Form Templates component, using one of these methods:
   * Click anywhere within the component.
   * Select the Form Templates label you created for your component in the content tree.

   {#form-templates-component-uib-setup__choices_jd3_3vn_knb}  
   The preset selection panel appears in the pane on the right.  

   <br />

3. Select either None to configure the component properties manually, or select one of the available presets to use pre-configured properties and events for the component.  
   When you select the first preset on a page, a configuration panel appears
   with instructions for configuring the required controller for that preset.
   For more information, see [Automatically configure components using presets](https://www.servicenow.com/docs/eFRoznvnJXSEND1RjAXpSg#presets "Use component presets to automatically configure components on compatible pages.")  

   <br />

4. Supply the data that connects a preset to its controller and select Use.  
   UI Builder automatically configures any other presets in the page to use the same controller with the same configuration. For more information, see [Add a controller](https://www.servicenow.com/docs/P52VaYAm9py9PHh7UM81~A#add-controller "Add a data controller to your page to use component presets.").
{#form-templates-component-uib-setup__steps_id3_3vn_knb}

## Form Templates component properties {#ariaid-title2}

Properties in the Form Templates component have preset configuration values. You can accept these values or override them manually.
Presets are designed to suit a specific use case. However, you can override a property that has a preset value with a custom configuration, if you find it necessary for your design. For details on overriding and resetting presets, see [Override a preset for a
component](https://www.servicenow.com/docs/eFRoznvnJXSEND1RjAXpSg#override-a-preset "Override a component preset to enter your own custom values.").  
Important:  
Preset values that you override aren't updated automatically when you upgrade the instance.

### Available presets {#form-templates-config-properties__section_dim_wit_1uf}

Record form template
:   This preset facilitates the creation and maintenance of form templates and helps automate data entry on recurring forms. This preset requires the Record controller.  
    Properties included in this preset are:

    * Table
    * View
    * Sys ID
    * fields
    {#form-templates-config-properties__ul_hai_ku4_oof}

### Properties {#form-templates-config-properties__section_lhp_gyy_ztb}

{#form-templates-config-properties__table_xzl_mwj_snb__entry__2}

| Label \[property\] | Description |
|-|-|
| Table \[table\] | Table to which the templates are applied. |
| Refresh Requested \[refreshRequested\] | A timestamp value defining when to request a form refresh. |
| View \[view\] | Form view to use when creating or editing a template. |
| Sys ID \[sysId\] | Sys ID of the record to which the template is applied. |
| fields \[fields\] | Map of fields that are shown in the form. |
| Hide my templates \[hideMyTemplates\] | Shows or hides the My Templates tab. Default: false |
| Hide sort button \[hideSorting\] | Shows or hides the sort button. Default: false |
| Hide favorite features \[hideFavorite\] | Shows or hides the favorite icon in the template card and the Favorites tab. Default: false |
| Ask confirmation when same template is applied on a record \[askConfirmationOnSameTemplate\] | Determines if a message displays asking for confirmation when a user applies the same template again on a record. Default: false |
[ ]

{#form-templates-config-properties__table_xzl_mwj_snb}

### Manual configuration {#form-templates-config-properties__section_cho_pin_no1}

To configure properties manually, enter either static or dynamic input. Enter dynamic input by selecting the input type.

* Data binding: Enables you to create dynamic property values derived from multiple sources, such as state variables (@state) in the page, URL variables (@context), or payloads from a data resource (@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.")
{#form-templates-config-properties__choices_oz3_vrq_5sb}

## Form Templates component events {#ariaid-title3}

If you have chosen a preset containing events, data handlers for those events are
pre-selected by the controller, and no manual configuration is required. If the component has
events that aren't included in the preset, you must add data handlers manually to configure
those events.
The Events tab shows the events used by the Form Templates component. Events with presets are marked with the Preset badge. To show events that don't have preset configurations, select + Add event mapping. If the component has only one event, and that event doesn't have a preset, the event is displayed, ready for configuration.  

<br />

### Event handlers {#form-templates-config-events__section__ski_dma_rks}

Event handlers work with data resources to link the Form Templates 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 instruction on how to add and delete event handlers
with presets and how to disable 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.") and [Disable preset event mappings](https://www.servicenow.com/docs/sHHv~qkTu_D_eRd6J0p0IQ "You can disable event mappings that are automatically created by a component preset.").  

<br />

### Preset events {#form-templates-config-events__section_jjt_18y_r80}

Record form template
:   This preset doesn't have any events.

### Event descriptions {#form-templates-config-events__section_njk_phz_ztb}

{#form-templates-config-events__table_m21_jxj_snb__entry__2}

| Event | Description |
|-|-|
| Add Notifications | Notifications added to the page. Notifications inform the user of errors while interacting with the component. For example, deleting or uploading an attachment. Payload: items: List of notifications to display * `type`: Type of message to display. This determines how notification is styled. The available types are: * `error` * `info` * `warning` {#form-templates-config-events__ul_nsm_3hh_d2c} * `message`: The notification message * `contentType`: Type of content to be passed. Accepts `html` or `string` options. For `html`, the caller is responsible for escaping all data to avoid XSS attacks. For `string`, content is automatically escaped. {#form-templates-config-events__ul_wgx_skz_ztb} |
| Clear notifications | Action to clear all notifications. |
| Preview Record (template) | Action to preview a given template for creation or editing. Payload: * `table`: Table name * `sys_id`: Sys ID of the record * `view`: Record's view setting * `query`: Template query to add initial value for the template value field {#form-templates-config-events__ul_f3s_rlz_ztb} |
[ ]

{#form-templates-config-events__table_m21_jxj_snb}

