Innovation Pack 2014 provides a single theme “Aurora” and three options for menu navigation controls. User can change it whatever he/she likes, from User Preferences -> Behavior. Change Navigation control from Behavior and refresh application to get the change.
TAB Layout
HAMBURGER Navigation Layout
TREE Layout
Suppose we want to restrict Tree Navigation from ADMIN user only. That means only ADMIN can see TREE option in Behavior -> Navigation Control and can only be able to choose it.
To achieve this we need to follow below 3 steps:
Create New Expression
Go to Administration Application -> Manifest Expression.
Add expression to check login name and identify a particular user to implement our change.
GetProfileAttribute(‘LoginName’) = ‘ADMIN’
Above line will identify Admin User.
Manifest Administration Change
- Go to Administration Application ->. Manifest Administration
- Search for Type = “Navigation” and Type = “Physical Renderer”
- You will find 3 entries for 3 different layouts (NAVIGATION_TAB, NAVIGATION_TREE, NAVIGATION_Side_ Menu).
- Select NAVIGATION_TREE record and copy it. (as we want to change it.) Note down file added in NAVIGATION_TREE record as we gonna add same in our new record.
- In Expression applet, add record & select ADMIN ONLY expression. Add “1” in Level, its required.
- In Files applet, add js file we noted from last record. (jsTreeCtrl.js).
Restart application to reflect changes
- Logoff & login with a user different from ADMIN.
- Go to User Preference -> Behavior.
- You should not be able to see TREE option.
[su_divider]
@AskmeSiebel