Hello,
This is possible using the CUI tools available in 11.0 SP9.
Please follow the steps below for an example of how to add a custom button to the Admin menu.
- Login as admin
- Navigate to Administration->Configuration->Client Presentation
- Click the hyperlink labeled "Global" in the Presentation [...] column
- In the Command Bar Section relationship tab, search for 'com.aras.innovator.cui_default.main_window_main_menu' in the name column
- Open this item
- In the Command Bar Item relationship tab, select 'Create Related' and add a new item with the following information
- Name: MWMM Custom Button
- Action: Add
- For Identity [...]: Administrators
- In this column, choose the Identity with the group of users you want to be able to access this button
- Right-click on this new item and select 'View "Command Bar Item"'
- Fill in the following information
- Label: MWMM Button Label
- Parent Menu:
- Click Method: My Javascript Method
- Set this to the javascript method that contains the code you want to run when a user clicks this button
- Save this button
- Save the Command Bar Section
- Log out
- Log back in as a member of the Identity you set in Step 6
- Confirm that you can see the new button
- Log out
- Log back in as a user who is not a member of the Identity you set in Step 6
- Confirm that you cannot see the new button
You can also create your own sub-menus like the Admin menu by following similar steps.
Chris
______________________
Christopher Gillis
Aras Labs Software Engineer