Contact us

Applies to: Customer's Canvas On-Premises; Customer's Canvas Hub cloud; UI Framework 4.0 - 4.47

Skip to main content

Help

This widget displays web pages and modal windows. Use it to show instructions, FAQs, or external documentation in the personalization workflow.

{
"name": "help",
"type": "help",
"params": { ... }
}

General info​

  • type: help

Params​

  • base: a help step configuration that defines the base step.
  • steps: a list of steps included in the help. Each key is a step identifier, and each value is a step configuration:
    • type: the type of content displayed in the step, either "modal" or "page".
    • content: the name of a modal window or a link to a page.

Examples​

Opening a modal window​

First, define a modal window in the modals section. Then, refer to it by name in the help widget.

{
"modals": [
{
"name": "faq",
"header": "F.A.Q.",
"externalContent": {
"url": "https://example.com/pages/faq"
}
}
],
"widgets": [
{
"name": "help",
"type": "help",
"title": "Help",
"params": {
"base": {
"type": "modal",
"content": "faq"
}
}
}
]
}

To learn more about modal windows, see Modals.

Opening a web page​

Set the step type to "page" and specify the page URL in content.

{
"name": "help",
"type": "help",
"params": {
"steps": {
"0": {
"type": "page",
"content": "https://example.com/manual"
}
}
}
}
Was this page helpful?