---
sourceDocument: Brazil Mobile Configuration and Navigation
sourceDocumentLink: https://www.servicenow.com/docs/r/mobile

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Mobile Configuration and Navigation

ft:clusterId :

    - mobile

bundleId :

    - mobile

workflow :

    - Development, Data and Analytics


---

# Configuring mobile scripts

# Configuring mobile scripts {#ariaid-title1}

Release version: Brazil  
Updated October 28, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read  
Learn how to use mobile scripts and to configure within the Mobile script \[sys_sg_mobile_script\] table.

## Before you begin

Role required: mobile_admin  
Note:  
To enable mobile scripting for button conditions, you must enable the option in the button table. For more information, see [Button condition support enablement](https://www.servicenow.com/docs/7LqITWQXUesYKVprxeJKFA "Use mobile scripts to update data across multiple tables and to control button visibility and behavior, whether users are online or offline.").

## Procedure

1. Navigate to Allsys_sg_mobile_script.list.  
   The Mobile script list displays.
2. Select New to create a mobile script record.
3. On the form, fill in the required fields.  
   {#mobile-scripts-config__table_cqp_5jq_clc__entry__2}

   | Field | Description |
   |-|-|
   | Name | Unique name of the mobile script, used as the display field. This name is the class name, so it can use only letters, numbers, and underscores, and it can't start with a number. |
   | API Name | A read-only, automatically generated name. The API name combines the scope and the name, separated by a period (for example, global.my_script). If no scope is set, the scope defaults to global. |
   | Description | Free-form description of the mobile script you're creating. |
   | Active | Define whether this mobile script should be active not. The default value is \<true\>. |
   | Script | The JavaScript source executed on the device. For script examples, see [Mobile Scripting API reference](https://www.servicenow.com/docs/access?context=api-mobile-scripting&version=brazil&pubname=brazil-api-reference&ft:locale=en-US). |
   | Script dependencies | A read-only automatically generated list of the API names this script calls. It lists the API names this script calls, and any other scripts that are downloaded for this script to work end to end. |
   [ ]

   {#mobile-scripts-config__table_cqp_5jq_clc}
4. In the Name field, add a unique name for the Mobile script.
5. **Optional:** Select Turn on ECMAScript 2021 (ES12) mode if you want to use ES2021 syntax and feature.
6. Select Submit.

*[\>]: and then


