Tips'n'Tricks for WebCenter #2: How to create an Admin menu in Spaces and save a lot of time

Objects in Oracle #WebCenter Portal have a visibility flag that is set to true or false. But you can also enter conditions. To make something visible just for moderators, you have to replace true by #{WCSecurityContext.userInScopedRole['Moderator']}

I use it to create an Admin menu. The visibility of the folder item in my custom navigation is specified as above. That means that all menu items under that new Admin menu are only visible for space moderators.

One candidate for such an Admin menu would be the Analytics menu item because it is not necessary to reveal it to all space members.

Another item that is extremely useful is a shortcut to Pages and Spaces Actions > Manage > All Settings. If you are a space admin you know how often you have to go there, and how difficult it is to navigate the mouse to the submenu item.

So under my new Admin menu I’ve added an item 'All Settings' with a link to http://YOURWEBCENTERDOMAIN/webcenter/spaces/YOURSPACE/admin.

You can get the link for your space via Pages and Spaces Actions > About > Share Link and append /admin. Note, that you have to check the Redirect flag under Options to avoid the frame-in-a-frame problem.

The following set of screenshot might guide you to create an Admin menu in your space.

#1 - Add a folder to the customized navigation:

add a menu

#2 - Set the Visibility to mods only:

edit Admin menu

#3 - Add links to the new Admin menu:

add menu item

#4 - Set the target path to Manage All Settings, do not forget to check the Redirect option under the Options tab:

edit Settings menu item

#5 - The customized navigation with the new Admin menu:

edit custom navigation

#6 - The customized menu applied to your space:

customized navigation

Republished at theappslab.com

 

Comments:

Post a Comment:
Comments are closed for this entry.
About

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today