Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Status
colourYellow
titleavailable from SINCE version 9.1

You can add a link to an external application to the Module menu.

...

To configure a link to an external app:

  1. Go to Administration > Configuration > Advanced Configuration Options.

  2. Click Add.

  3. In the Name field, specify the name of the option. It must have the following pattern: pfxExternalApp_LinkName

  4. The Value field contains the definition of the link. Example:

    Code Block
    {
       "name":"PSPDesigner",
       "label":"Pricing Strategy Designer",
       "url":"https://developer.pricefx.eu/tools/pricing-strategies-blockly-unity/",
       "businessRole":"Pricing",
       "entryPoints":[
          {
             "hook":"menu_visual_configuration",
             "label":"Pricing Strategy Designer"
          },
          {
             "hook":"pricelists",
             "label":"Open Strategy Designer"
          },
          {
             "hook":"pricelistDetail",
             "label":"Open Strategy Designer",
             "inputs":[
                "pricelistId"
             ]
          }
       ]
    }

label – Defines the link as it appears in the Module menu.
url – The web address of the embedded application.

Note

The page will not be displayed in iframe if url returns response header X-Frame-Options: SAMEORIGIN.


businessRole – The menu item will be displayed only to users who have this business role assigned.
entryPoints – Provide a list of possible entry points (hooks) where the app can hook itself. Each entry point needs to have the following information:
path – An identifier of the entry point provided by Pricefx or a list of points forming a path (in a menu and its sub-menus).
label – The label of the menu item, button, etc.
tooltip – Optional tooltip/help text displayed on/next to the menu item, button, etc.