Resize a modal
task australia Updated Sep 10, 2026 1 min read set-up-resizing-for-select-modals-in-configurable-workspace.md
Use declarative actions to resize a modal in your workspace.
Before you begin
Role required: admin
About this task
If resizing isn’t required for all record page modals, use declarative actions to resize individual modals.
Declarative actions take higher precedence than system properties.
Procedure
-
Navigate to All > Declarative Actions > Related List Actions.
-
From the Action Assignments list, select a related list action.
An Action Assignment record opens.
-
From UX Add-on Event Mappings related list, select the event mapping for opening a modal.
A UX Add-on Event Mapping record opens.
-
In the Target Payload Mapping field, enter the following snippet under
“container”: {.Text"resizableConfig": { "enableResizable": true }, -
Specify the modal’s default size by appending the following snippet.
CSS"customSize": { "height": "590px", "width": "1500px" }, "size": { "type": "JSON_LITERAL", "value": "custom" } -
Select Update.
66 lines · 1.7 KB
---
title: Resize a modal
description: Use declarative actions to resize a modal in your workspace.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/australia/platform-user-interface/set-up-resizing-for-select-modals-in-configurable-workspace.html
release: australia
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Configure action buttons, Declarative actions, Administer, Configurable Workspace UI, Configure UIs and portals, Configure user experiences]
---
# Resize a modal
Use declarative actions to resize a modal in your workspace.
## Before you begin
Role required: admin
## About this task
If resizing isn’t required for all record page modals, use declarative actions to resize individual modals.
Declarative actions take higher precedence than system properties.
## Procedure
1. Navigate to **All** > **Declarative Actions** > **Related List Actions**.
2. From the Action Assignments list, select a related list action.
An Action Assignment record opens.
3. From UX Add-on Event Mappings related list, select the event mapping for opening a modal.
A UX Add-on Event Mapping record opens.
4. In the Target Payload Mapping field, enter the following snippet under `“container”: {`.
```
"resizableConfig": {
"enableResizable": true
},
```
5. Specify the modal’s default size by appending the following snippet.
```
"customSize": {
"height": "590px",
"width": "1500px"
},
"size": {
"type": "JSON_LITERAL",
"value": "custom"
}
```
6. Select **Update**.
| title | Resize a modal |
| description | Use declarative actions to resize a modal in your workspace. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/platform-user-interface/set-up-resizing-for-select-modals-in-configurable-workspace.html |
| release | australia |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Configure action buttonsDeclarative actionsAdministerConfigurable Workspace UIConfigure UIs and portalsConfigure user experiences |