Closing temporary pages

If you can edit a page, you can use a Page Navigator widget to close a page that is temporarily visible in a space.

About this task

A temporary page is a page that belongs to one space but has been opened in a different space. That is, a Page Navigator has used an Open Page action to open the page. Consider closing a temporary page when the user has finished using it. For example, if a space opens a temporary page to create a customer, use a Page Navigator to close the page after the user has submitted the customer information. You can place the Page Navigator that closes the temporary page in any page, including the temporary page itself.

A Page Navigator closes a temporary page in response to receiving an event through a wire. The Page Navigator uses wiring to determine when it closes the page.

Procedure

  1. Click Edit Page.
  2. Add the Page Navigator widget to the page.
  3. Wire the source widget to the Page Navigator:
    1. From the Page Navigator widget menu, click Edit Wiring. You can now see the Wiring window.
    2. Click Add Incoming Wire and then, from the list, select the source widget. You can see the source widget and a wire that connects the source widget to the Page Navigator. You can also see the default events for the wire. For the Page Navigator, this event is the Page Navigation event and you do not need to change it.
    3. For the source widget, select the appropriate event. For example, select the Item Selected event for a source widget that has a list of user-selectable customers.
    4. Click Save. The Wiring window closes.
  4. From the Page Navigator widget menu, click Edit Settings.
  5. Set the values for the fields in the following order:
    1. Set the navigation event to Close Page.
    2. Select the space that contains the page that you want to close. You can now edit the Page field, which lists the pages in that space.
    3. Select the page that you want the Page Navigator to close.
  6. Click OK.
  7. Optional: From the Page Navigator widget menu, select Hide. Hiding the Page Navigator is a recommended step to reduce clutter on the page. Hiding the widget does not impact how the widget performs.

Results

The Page Navigator closes the temporary page whenever the user does something that triggers the navigation event. The user can see the last page he or she visited.