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. |
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
No comments:
Post a Comment