Skip to content

How to disable a suggestion


Anindita Basu    Feedback

Depending on where the suggestion is configured (whether at the global level or only for a module), you turn off the flag for that suggestion in the suggestionSetMappings object.

disable a suggestion

How to

JSON

This task is done through the JSON interface.

  1. Log in to the web app.
  2. Depending on where the suggestion is configured, open the JSON configuration:
    • If it's a company-wide suggestion, on the left menu panel, click Customize > Global Settings > JSON Configurations. Then, go to the clientSuggestionConfig object.
    • If it's a module-specific suggestion, on the left menu panel, click Customize > Module Settings > the pencil icon for the module > JSON View. Then, go to the moduleSuggestionConfig object.
  3. Expand the suggestionSets object and locate the suggestion to disable. Make a note of the code for that suggestion.
  4. Expand the suggestionSetMappings object, and locate the suggestion by its code, which is mentioned in suggestionSet. Set the value of the disabled key to true. For example, in the following code snippet, the suggestion with SuggestionForActivePlatinumCustomers as its code is disabled.

    "suggestionSetMappings": [
    {
      "disabled": true,
      "order": 1,
      "suggestionSet": "SuggestionForActivePlatinumCustomers"
    },
    {
      "disabled": false,
      "order": 1,
      "suggestionSet": "SuggestionForActiveGoldCustomers"
    }
    ]
    

See also


Did this page help? No help at allYes, totally!
Back to top