Resize select modals in Configurable Workspace

  • Release version: Yokohama
  • Updated January 30, 2025
  • 1 minute to read
  • Use declarative actions to enable resizing for select modals in your Configurable Workspace.

    Before you begin

    Role required: admin

    About this task

    If resizing isn’t required for all record page modals, use declarative actions to enable resizing for select modals.

    Configuration at the declarative action level takes higher precedence than system properties.

    Procedure

    1. Navigate to All > Declarative Actions > Related List Actions.
    2. Open a related list action.
    3. From the UX Add-on Event Mapping, select the event mapping for opening a modal.
    4. Add the following snippet to the Target Payload Mapping field under “container”: {.
                                      "resizableConfig": { 
       "enableResizable": true 
      }, 
      
    5. Specify the modal’s default size by adding the following snippet under your previous addition.
      "customSize": { 
                  "height": "590px", 
                  "width": "1500px" 
              }, 
       
      "size": { 
                  "type": "JSON_LITERAL", 
                  "value": "custom" 
      }
      
    6. Select Update.