User Manual

06.20.2025

MANUAL

Developer Function: Extensions: Enhanced Navigation Menu

## Overview This is an extension for adding and deleting menus to the navigation menu. ## Notes When changing parameters, please check "[Confirmation When Changing Parameters](/en/manual/parameter-edit)". ## Restrictions 1. After updating the JSON file of the extended navigation menu, the changes will not be reflected until "Restart Pleasanter". 1. If the "[User Interface Theme](/en/manual/user-management-theme)" is set to the second-generation user interface theme, you can add child menus up to three levels using "NavigationMenu.json" or "Extended Navigation Menu". 1. If the "[User Interface Theme](/en/manual/user-management-theme)" is set to the second-generation user interface theme, specifying an icon using "NavigationMenu.json" or "Extended Navigation Menu" is not supported. ## How To Set It Create a JSON file containing the following contents under .¥Pleasanter¥App_Data¥Parameters¥ExtendedNavigationMenus¥ and "Restart the application". The file extension must be json. Folders can be hierarchically organized under ExtendedNavigationMenus. In this case, all JSON files under it will be loaded as configuration files. ## Parameter List The parameters to specify in the JSON file are as follows. |Parameter Name|e.g.|Description| |:--|:--|:--| |Description|"This expanded navigation menu displays..."|Description of the extended navigation menu. Does not affect operation. | |Disabled| false|If true, it is disabled and will not operate. | |DeptIdList| [1,2,3]|Specify the target depts ID in array format. If not specified, it can be omitted. | |GroupIdList| [1,2,3]|Specify the target group ID in array format. If not specified, it can be omitted. | |UserIdList|[1,2,3]|Specify the target user ID in array format. If not specified, it can be omitted. | |SiteIdList| [1,2,3]|Specify the target site ID in array format. If not specified, it can be omitted. | |IdList|[1,2,3]|Specify the target records ID in array format. If not specified, it can be omitted. | |TargetId| "NewMenu"|Specify the target ID when performing the operation specified in Action. | |Action| "Append"|Specify the operation such as adding or deleting a menu. | |NavigationMenus| [{…},{…},…]|Specify the definition of the menu to be extended. See "NavigationMenu.json" in the parameter settings. | ## List of Actions A list of operations that can be specified for Action. |Variable|Description| |:--|:--| |Append|Add a menu after the menu with the ID specified in TargetId. | |Prepend|Add a menu before the menu with the ID specified in TargetId. | |Remove|Delete the menu with the ID specified in TargetId. | |Replace| Replace the menu with the ID specified by TargetId. | |ReplaceAll|Replace all menus. | ## Sample Code ##### JSON ``` { "SiteIdList": [ 5000000, 5000001, 5000002 ], "TargetId": "NewMenu", "Action": "Append", "NavigationMenus": [ { "ContainerId": "ProductManagementContainer", "MenuId": "ProductManagement", "Name": "Product Management", "Icon": "ui-icon ui-icon-gear", "ChildMenus": [ { "Name": "Food", "MenuId": "Food", "Icon": "ui-icon ui-icon-triangle-1-e", "LinkParams": [ "Items", "5000000", "Index" ] }, { "Name": "Drinks", "MenuId": "Beverage", "Icon": "ui-icon ui-icon-triangle-1-e", "LinkParams": [ "Items", "5000001", "Index" ] }, { "Name": "Daily Essentials", "MenuId": "DailyEssentials", "Icon": "ui-icon ui-icon-triangle-1-e", "LinkParams": [ "Items", "5000002", "Index" ] } ] } ] } ``` ## Related Information <div id="ManualList"><ul><li><a href="/en/manual/parameter-edit">Set Parameter: Confirmation When Changing Parameters</a><span>08.13.2024 up</span></li></ul></article> <ul><li><a href="/en/manual/user-management-theme">User Management Function: Customize User Interface Themes</a><span>10.04.2024 up</span></li></ul></article></div><input id="SearchTextHidden" type="hidden" value="" />
TOP
このページをシェアする
記載された商品名、各製品名は各社の登録商標または商標です。 © Implem Inc.