Configure a page variant as a modal in UIB
Define your page variant to appear as a modal using UI Builder configurations. This steps acts as part of the process to configure an action button to open a custom modal.
Before you begin
Complete the following actions:
- Create a form action
- Activate Customer Service Management
- Open your record page in UIB or create a page variant in UIB
- Design your page variant in UIB
Role required: admin
Procedure
Open your page variant.
Open the sys_ux_screen_type by selecting the menu icon (
menu icon\) and navigating to **Developer** > **Open variant collection record**.
Select the UX App Route tab under Related Lists and select your page variant.
Open UI Builder in a new browser tab and open your configurable workspace experience.
Find the page that you want your modal to appear by opening the overview of records for the experience and selecting the page.
Select the menu icon (
menu icon\) and navigate to Open page definition.
Select Copy sys_id.
Return to the browser tab with the sys_ux_app_route.
Select the Parent Macroponent field twice to open a dialog that displays the page identifier, and then select OK.
Define the variant to appear in a modal by entering
modalContainerViewportin the Parent Macroponent Composition Element ID field.Select Update.