Skip to content

NavigationMenus.json

Cautions

When changing parameters, please refer to "Confirmation When Changing Parameters".

Limitations

  1. If the "User Interface Themes" is a second-generation user interface theme, you can add child menus up to three levels using "NavigationMenus.json" or "Extended Navigation Menu".
  2. If the "User Interface Themes" is a second-generation user interface theme, specifying an icon using "NavigationMenus.json" or "Extended Navigation Menu" is not supported.

Setting Values

The setting values ​​for this Parameter file are as follows.

Parameter name e.g. Description
ContainerId NewMenuContainer Cannot be changed (specify the value of the id attribute of the entire list.)
MenuId SettingsMenu Cannot be changed (specify the value of the id attribute of the menu.)
Id SettingsMenu Cannot be changed (specify the value of the id attribute of the menu.)
Name New Specify the name displayed of the menu. You can set the file name (without extension) under Implem.Pleasanter\App_Data\Displays or any string.
Icon ui-icon ui-icon-plus Specify the icon of the menu. This is only valid for the first-generation user interface theme in "User Interface Theme". You can set an icon published by jQuery UI. (Reference: https://api.jqueryui.com/theming/icons/)
Url "https://pleasanter.net" Specify the URL of the link.
Target _blank Specify the target attribute when the menu is clicked. In this example, the transition screen is displayed in a separate tab.
LinkParams ["Users", "Logout"] Specify the link destination in parameter format. In this example, it transitions to "https://{server name}/users/logout".
Function Export Cannot be changed (Used when there is processing when the menu is clicked.)
Controllers ["items", "users"] Specify the controller type of Pleasanter. The menu will be hidden except on screens with the specified controller type.
ReferenceTypes ["Users"] Specify the reference type of Pleasanter. The menu will be hidden except on screens with the specified reference type. *1
Actions ["new"] Specify the action type of Pleasanter. The menu will be hidden except on screens with the specified action type.
ChildMenus "**" Specify the child menu settings.
Disabled true Disable the menu.

※1 If you specify "-*", the menu display will be controlled excluding the specified value.
(Example) If you specify ["-items"] for Controllers, the menu will be hidden on screens with a controller type of "items", and will be displayed on screens other than "items".

ChildMenuSettings Example

You can specify the same settings as for the menu in the ChildMenus parameters.

JSON
[
    {
        "ContainerId": "HelpMenuContainer",
        "MenuId": "HelpMenu",
        "Name": "HelpMenu",
        "Icon": "ui-icon ui-icon-help",
        "ChildMenus": [
            {
                "MenuId": "HelpMenu_UserManual",
                "Name": "UserManual",
                "Icon": "ui-icon ui-icon-help",
                "Url": "https://pleasanter.org/manual",
                "Target": "_blank"
            }
        ]
    }
]