Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: PFUN-27347

You can add a link to the Enable Rebate Management Insights in the Module menu. The link is configured in Advanced Configuration Options.

Table of Contents
minLevel1
maxLevel6
outlinefalse
styledisc
typelist
printabletrue

...

Prerequisites

  • The user needs to have the “enable” business role assigned for the configured Enable menu items to appear. See Business Roles Admin.

  1. Go to Administration > Configuration >

...

  1. General Settings > Advanced Configuration Options.

  2. Click the Add button to open the Add Option dialog.

  3. In the Name field, specify the name of the option. It has to be

...

  1. pfxExternalApp_

...

  1. customMenuItems.

...

  1. In the Value field

...

  1. , specify the definition of the link.

  2. Click

...

  1. Add to save changes and close the dialog.

Example of Custom Menu Items JSON Configuration

Code Block
languagejson
{
  "first": {
    "folderslabel": "First",
    "insertBefore": "dashboards",
    "items": [{
      "item1": {
         "uniqueName"label": "item 1",
        "href": "https://organizations.enable.com/organization/pricefx-x-enable",
        "type": "enableRebates"enable"
      }
    }
  },
  "enable-rebates": {
    "label": "Enable Rebates",
    "insertAfter": "rebate-manager",
    "items": {
      "Dashboard": {
        "label": "Dashboard",
  "positionIndex": 8,      "href": "https://dev-uk.deal-track.com/Client/pfx-int-dev-2/Sso/Saml2/SignIn?ReturnUrl=%2FClient%2Fpfx-int-dev-2%2FDashboard",
        "type": "enable"
      },
      "tradingPrograms": {
        "label": "Trading Programs",
        "href": "https://dev-uk.deal-track.com/Client/pfx-int-dev-2/Sso/Saml2/SignIn?ReturnUrl=%2FClient%2Fpfx-int-dev-2%2Ftrading-programs-list",
        "type": "enable",
        "allowedBusinessRoles": [
          "enable"
        ]
      },
      "programEarnings": {
        "label": "Program Earnings",
        "href": "https://dev-uk.deal-track.com/Client/pfx-int-dev-2/Sso/Saml2/SignIn?ReturnUrl=%2FClient%2Fpfx-int-dev-2%2FReports%2FDealEarnings",
        "type": "enable",
        "itemsallowedBusinessRoles": [
          "enable"
        ]
      },
      "creditorsReport": {
        "label": "Finance - Creditors Report",
        "href": "https://dev-uk.deal-track.com/Client/pfx-int-dev-2/Sso/Saml2/SignIn?ReturnUrl=%2FClient%2Fpfx-int-dev-2%2FCash%2FCreditorsReport",
        "uniqueNametype": "tradingProgramsListenable",
        "allowedBusinessRoles": [
          "enable"
        ]
      }
    }
  },
  "second": {
    "label": "Trading Programs List",
"Second",
    "insertAfter": "enable-rebates",
    "items": {
      "item2": {
        "label": "Folder",
        "href": "https://organizations.enable.com/organization/pricefx-x-enable",
        "type": "enable",
"type": "Enable"
          "items": {
          "subItem1": {
            "label": "Sub Item 1",
     }        ]"href": "https://organizations.enable.com/organization/pricefx-x-enable/subitem1",
      "subfolders": []      "type": "enable"
          }
        }
      }
    }
  ]}
}

...

The JSON configuration of the menu items (above) is reflected in the Pricefx module menu:

...

Used Advanced Configuration

...

Option Properties

FieldProperty

Description

label

Defines a the label for folders and items.

insertBefore

Specifies the position of a menu item in the Module menu, placing it before the item specified in this property.

positionIndexinsertAfter

Defines Specifies the position of a menu item in the Module menu, placing it after the item specified in this property.

items

Defines a the list of menu items in a folder. Can also be used to create sub-folders.

href

Defines an the actual URL to for the Enable Rebate Management Insights.

allowedBusinessRoles

Restricts access to the menu item to users with the specified business roles.

type

Defines a the type of a menu item and determines the icon used for it.

Default Value: Enable

Info

Enable “Enable” is currently the only supported type value.

subfolders

Defines a list of subfolder menu items

.