Resize a modal

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • Use declarative actions to resize a modal in your workspace.

    Antes de Iniciar

    Role required: admin

    Por Que e Quando Desempenhar Esta Tarefa

    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.

    Procedimento

    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.