Monday, November 3, 2014

OIM 11g R2 PS2 - Create Custom UDF and Display on Create,View and Modify User Pages

In this post, I will cover the steps required to create a custom UDF on USR profile page and then display it on create, view and modify user page.

In 11g R2 onwards, for every page you have to add the attribute where you want to display. So the configuration is per page.

Ok, lets start getting on with the configuration.

Login to sysadmin console and create a sandbox.
























                                                                                                                                                    
Go to System Entities - > User -> Click Create a Custom Field.






























                                                                                                                                                                               
Login to Identity Console

Go to Sandboxes and activate the previous sandbox that you created





Now go to create user page
Enter only the mandatory values 
Click Customize on top right corner
Click View Page source
Scroll down to other attributes.
Click Add content

Data Component - Catalog -> userVO -> Ticket Number































                                                                                                                                                       
                                                                                                                                             
You can order the attribute placing by editing the container panelFormLayout.

                                                                                                                                 
Click close. that finishes the create user page customization

Now if you create a user , the attribute will show up but it will not be displayed once you click the create button as view user requires separate customization.

Lets go to view user page, click customize and add the same attribute again.

For view user
View User Details Data Component - Manage Users UserVO1


                                                                                                                                                       
Click close to save and finish the customization



                                                                                                                                                 

                         






                                                                                                                                                        


Let us do the final customization for Modify User Page
Modify User - Data Component - Catalog - userVO
Make sure you mark the property as Auto Submit as true for the attribute