Requirement: Make field editable for the user with "Siebel Administrator" and read-only for the other responsibilities.
Solution:
Follow below steps to make the field read-only based on responsibilities.
Step1: Create a Calculated Field with the below expression.
IIf (InList("Siebel Administrator",GetProfileAttrAsList('Me.User Responsibilities'))='Y','N','Y')
Explanation:
GetProfileAttrAsList function returns the user responsibilities (which is MVG) in comma seperated list.More documentation on this function in siebel bookshlef can be found here
InList function has syntax as InList("<string to search>","<comma separated values>") . This function will searches for the string in Comma Separated Values.
Step2 : Use this calculated field in BC User Property to make the required field to be editable only to the siebel Administrator Responsibility.
Name: Field Read Only Field: <Field to be editable>
Value: Calculated Field Created in Step1
In the above example the field is displays as editable only for the users with "Siebel Administrator" Responsibility and read-only for user who doesn't have "Siebel Administrator" responsibility.
Thursday, June 2, 2011
Subscribe to:
Post Comments (Atom)
Siebel Open UI is released ...!!!
Hi Guys, The most awaited feature of Siebel, called Open UI is released. This new feature Open UI is available in new Siebel patch 8.1.1....
-
To set Profile attributes we normally write script code in an object and then compile it. But to set/get profile attibutes dynamically i.e, ...
-
The sequence of the events triggered in Siebel (script) is mentioned below. Browser : Applet_PreInvokeMethod Server : WebApplet_Pr...
-
Requirement: The user should be allowed to closed a Service Request only if all activities for the SR are closed. If any activity is in Open...
No comments:
Post a Comment