---
sourceDocument: Australia ServiceNow AI Platform user interface
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/platform-user-interface

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia ServiceNow AI Platform user interface

ft:clusterId :

    - platux

bundleId :

    - platux

workflow :

    - Platform


---

# Design a page variant in UIB

# Design a page variant in UIB {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Configure a UI Builder page variant to pass from a workspace modal into the variant. This step acts as part of the process to configure an action button to open a custom modal.

## Antes de Iniciar

Complete the following actions:

* [Create a form action](https://servicenow-prod.fluidtopics.net/nMmTc_Xew4JO~LopDVoCtQ "Create a form action and add the button to a workspace.")
* Open your record page in UIB or [create a page variant in UIB](https://www.servicenow.com/docs/access?context=create-variant&version=australia&pubname=australia-application-development&ft:locale=en-US)
{#design-a-page-variant-in-uib__ul_wlf_xnm_d1c}

Role required: admin

## Procedimento

1. Open a page variant in UI Builder.
2. Add components to display on the page by selecting +Add component under the Body element.
3. Select the added component and select the Table field.
4. Switch the setting to Bind data and dot-walk to the table prop by entering <kbd class="ph userinput">@context.props.table</kbd>.
5. Select the Title field, and switch to Script mode.
6. Enter the following script and pass the sysID received through the URL parameter as a JS template variable.  

       function evaluateProperty({ api, helpers }) {
       	return `Only ${api.context.props.sysId}`;
       }

7. Select Apply for the script and select Save.

## Resultado

The table and sysID variables are configured to be passed from the modal through the URL into the variant.

