Configuring page context variables

You can configure page context variables to create dynamic and customized page content.

About this task

You can add context variables to a page during the page creation process or after you create a page.

Procedure

  1. If you are adding context after creating a page, then open the Page library and click the name of the page to which you want to add context.
  2. In the Context section, click Configure.
  3. Click Add variable.
  4. In the Label field, enter a unique name for the variable.
  5. In the Type list, select the appropriate data type.
  6. In the Value field, enter a value that is based on the type selection.
    For example, if the selection is String array, then the value must be in the ['a1b2', 'c1d2'] format.
    Note: The provided value is an example so that you can configure and test a page with context. The true dynamic value is fetched from the URL parameter when a link to the page is configured.
  7. Click Add.
  8. Click Done. If the cards on the pages show the Missing context message, then troubleshoot the cards. For more information, see Missing context.