Saturday, 19 September 2020

OIM EL Expressions

 Here are the few available EL expression that we can use in OIM UI. We can use this EL to customize self-service UI.


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}


Monday, 13 April 2020

OIM UI Customization using ADF - Adding custom tile application

I have prepared a series of video tutorials on OIM UI customization using ADF, where I have demonstrated how we can add a new tile application on OIM self service page.

If you follow the step by step process, as demonstrated in this tutorials, you will be able to integrate your own web application into OIM self service page as a new dashboard tile.

#1: Environment setup
#2: Adding Custom Tile Application (Part 1)
#3: Adding Custom Tile Application (Part 2)
#4: Adding Custom Tile Application (Part 3)
#5: Adding Custom Tile Application (Part 4)

More videos are on the way. Please Like & Subscribe my channel, so that you will get notification once I upload new videos.

Followers

OIM API for adding process task and retry failed task

 In this blog you can find how to add new process task and retry any failed/rejected tasks using API. Adding new process task: /************...