Forum Discussion
christopher_gillis
9 years agoCommunity Manager
Hi Johan,
There is a built-in way to remove specific UI buttons that does not require any additional code.
Please follow the steps below to remove the purge button from an ItemType.
- Open the 'myItemType' ItemType
- Navigate to the 'Client Style' relationship tab
- Open this item if one exists
- If an item does not exist in this tab, create one
- Disable the 'Purge' button from the Main Window Main Menu for this ItemType
- In the Command Bar Section relationship tab, select "Create Related" and add a new item with the information below
- Classification: Data Model
- Name: myItemType Main Window Main Menu
- Location: Main Window Main Menu
- For Identity [...]: World
- Alternatively, you can hide this button only for certain Identities
- Open this new Item
- In the Command Bar Item relationship tab, select "Pick Related" and add a new item
- Search for the button named "com.aras.innovator.cui_default.mwmm_purge"
- Set the Action for this item to "Remove"
- Set the For Identity [...] to "World"
- Save, Unlock, and Close each window until you get back to the main grid.
- In the Command Bar Section relationship tab, select "Create Related" and add a new item with the information below
- jukkatlehtinen5 years agoIdeator III
christopher_gillis Should this work with Aras 12? I'm looking to hide Part 'LifeCycle' from menu other than Admins.