Siebel Open UI: Restricting Functionality to Groups of Users

Remember the 'see-through' applets example? If not (and if you're too lazy to click the link), it demonstrates how we can display field-level metadata with a simple double-click on a form applet.

Now, whenever I demonstrate this to my students and customers, they really like it. But then always comes the question, what if an unsuspecting end user double-clicks by accident? Of course, we don't want to confuse end users (and the helpdesk staff) with an applet that looks like this:

Click to enlarge.
So how can we restrict Open UI functionality to certain users or groups such as super users or analysts? One possible answer to this questions is found in the Manifest Expressions view.

Let's assume - for the sake of simplicity - that you have assigned positions like 'Siebel Administrator' or 'Open UI Administrator' to some of your fellow employees.

With the following custom manifest expression you can easily provide conditional logic to load certain JavaScript files (or web templates) only for people who have an 'Admin' position:

GetProfileAttrAsList('Me.Position') LIKE "*Admin*"

The above expression evaluates to TRUE when the string returned by the GetProfileAttrAsList function (a quite useful method I must say) contains the sub-string 'Admin'. It would evaluate to FALSE for everyone who is not an administrator.

have a nice day

@lex

תגובות

פוסטים פופולריים מהבלוג הזה

FINS Data Transfer Utilities

SBL-BPR-00191: The rowId of the active row of the primary buscomp '%1', '%2', does not match the Primary Id

Profile Attributes and Open UI