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
- 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.
- In the Context section, click
Configure.
- Click Add variable.
- In the Label field, enter a unique name for the
variable.
- In the Type list, select the appropriate data type.
- 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.
- Click Add.
- Click Done.
If the cards on the pages show the Missing context message, then
troubleshoot the cards. For more information, see Missing context.