Configure the app route to use an existing subpage

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • Create an app route to make an existing page a part of the page collection. An example of an existing subpage is the dynamic related record that is a global subpage that you can use at any application level.

    Before you begin

    Role required: admin

    Note:

    The configuration of the app route is to utilize an existing page in a page collection. It is applicable to both templates and variants.

    Procedure

    1. Navigate to All > Now Experience Framework > UI Builder.
    2. Scroll down to Page collection and select CSM default record pre-tabs from the list.
    3. In the new window that opens up, select View page collection settings.
    4. Under the page collection settings page, select Open page collection.

      Ensure that the component type is Tabs as shown in the following example.

      Figure 1. Page collection settings interface
      Page collection settings showing the Open page collection action.
    5. Navigate to the UX App Routes tab as shown in the following example.
      Figure 2. UX Extension Point page
      UX App Routes tab on the interface.
    6. Create an app route by selecting New.
    7. In the Name field, enter a name, in the Route field, enter the route, and then select the Screen Collection field that you want to reuse.

      You can also create a screen collection and enter the name, route, and screen collection as shown in the following example.

      Figure 3. UX Screen Collections page
      Select a UX Screen Collections name or create a new one by selecting New.
    8. Select Submit.
    9. Optional: If you want more customizations, add a new screen condition by entering Screen Condition for that subpage on the UX Screen tab. 
      Figure 4. UX Screen Condition page

      The following example shows how to apply a screen condition on your subpage.

      Screen condition for your subpage if customization is required.

    Result

    You see that a subpage has been added to your new page collection.