Tuesday Jun 11, 2013

OIM11gR2: ADF: Frequently used EL expressions

Category

Usage

EL [Expression Language]

User

Get the current user’s attribute value by passing the attribute name

#{oimcontext.currentUser['ATTRIBUTE_NAME']}

User

Similarly get the value for a UDF

#{oimcontext.currentUser['UDF_NAME']}

User

Gets the roles assigned to current user. Returns list of RoleEntity objects. It is a Java Bean having name, description, key, and displayName properties

#{oimcontext.currentUser.roles}

User

Return true if user is a system administrator

#{oimcontext.currentUser.roles['SYSTEM ADMINISTRATORS'] ne null}
 
User

Returns true if user is assigned with admin role

'OrclOIMSystemAdministrator'

#{oimcontext.currentUser.adminRoles['OrclOIMSystemAdministrator'] ne null}
 
User

Returns user key

#{oimcontext.currentUser.usr_key}
 
User

Returns user key

#{oimcontext.currentUser['usr_key']}
 
User

Returns user login

#{oimcontext.currentUser['User Login']}
 
Request

Returns current operation. Possible values: CREATE/MODIFY

#{pageFlowScope.requestFormContext.operation}
 
Request

Returns true if the current operation is Modify

#{pageFlowScope.requestFormContext.operation eq 'MODIFY'}
 
Request

Return the current action type. Possible values: APPROVAL/ FULFILL/ REQUEST/ VIEW/ SUMMARY.

On all approval pages/ approver view the value is APPROVAL

For Manual fulfillment page the value is FULFILL

#{pageFlowScope.requestFormContext.actionType}
 
Request

Returns true if the action type is Request i.e. the user is about to submit the request

#{pageFlowScope.requestFormContext.actionType eq 'REQUEST'}
 
Request

Returns true if the request is bulk

#{pageFlowScope.requestFormContext.bulk}
 
Request

Returns beneficiaries user ids[user login values]

#{pageFlowScope.requestFormContext.beneficiaryIds}
 
Request

Returns keys for cart items

#{pageFlowScope.requestFormContext.cartItemIds}
 
Request

Returns the type of item added to request. Possible values: ROLE/ ENTITLEMENT/ APP_INSTANCE/ USER.

#{pageFlowScope.requestFormContext.requestEntityType}
 
Request

Returns true if added item is Application Instance

#{pageFlowScope.requestFormContext.requestEntityType eq 'APP_INSTANCE'}
 
Request

Returns application instance key for the item added

#{pageFlowScope.requestFormContext.requestEntitySubType}
 
Request

Returns provisioned instance key for a modify type request

#{pageFlowScope.requestFormContext.instanceKey}
 
General

Invoke a method present on backing bean

#{backingBean.<Bean Name>.<bean method>}
General

To show a field disabled on all FULFILL and APPROVAL pages

disabled="#{pageFlowScope.requestFormContext.actionType ne 'REQUEST'}"
About

OIM11gR2 Blog by NA-TAG Offshore IDAM team

Search

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