Adding ContextHub UI Modes and Modules

Configure the UI modes and modules that appear in the ContextHub toolbar in Preview mode:

  • UI Modes: Groups of related modules
  • Modules: Widgets that expose context data from a store and enable authors to manipulate the context

UI modes appear as a series of icons on the left side of the toolbar. When selected, the modules of a UI mode appear to the right.

chlimage_1-319

Icons are references from the Coral UI icon library.

Adding a UI Mode

Add a UI mode to group related ContextHub modules. When you create the UI mode, you provide the title and icon that appear in the ContextHub toolbar.

  1. On the Experience Manager rail, click Tools > Sites > Context Hub.

  2. Click the default Configuration Container.

  3. Click the Context Hub Configuration.

  4. Click the Create button, and then click Context Hub UI Mode.

    chlimage_1-320

  5. Provide values for the following properties:

    • UI Mode Title: The title that identifies the UI mode
    • Mode Icon: The selector for the Coral UI icon to use, for example, coral-Icon--user
    • Enabled: Select to show the UI mode in the ContextHub toolbar
  6. Click Save.