Enable Context drop down

Prev Next

Enable context drop-down list in Syndication Dashboard Search App

To view the context drop-down list in the Syndication Dashboard Search App, perform the following configuration:

Configuration details:

In the rock-context-selector_app-search-syndication_uiConfig.json file, specify the value of visible as true and hidden as false under the data.contexts.jsonData.config.context object.

Note:

By default, the value of visible is set to false and hidden is set to true.

The following is the sample rock-context-selector_app-search-syndication_uiConfig.json file:

{
  "id": "rock-context-selector_app-search-syndication_uiConfig",
  "name": "rock-context-selector_app-search-syndication",
  "type": "uiConfig",
  "data": {
    "contexts": [
      {
        "context": {
          "app": "app-search-syndication",
          "channel": "_DEFAULT",
          "component": "rock-context-selector",
          "country": "_DEFAULT",
          "domain": "_DEFAULT",
          "entityType": "_DEFAULT",
          "relationship": "_DEFAULT",
          "role": "_DEFAULT",
          "tenant": "_DEFAULT",
          "user": "_DEFAULT"
        },
        "jsonData": {
          "config": {
            "context": {
              "visible": true,
              "hidden": false
            }
          }
        }
      }
    ]
  }
}

Upload the updated configuration file to the respective tenant. For more information on how to upload the configuration file, see Upload Tenant Seed Data in System Administrator's documentation. After successfully uploading the configuration file, log in to the PIM application by using the appropriate user credentials.

The following is the sample screenshot of the context drop-down list displayed in the Syndication Dashboard Search App:
Syndication dashboard displaying item details with a highlighted France context.