UDF(User Defined Fields) or Custom Attributes in Oracle Identity Management (OIM 11g R2)
1. REGISTERING A NEW ATTRIBUTE
To create a custom attribute or UDF Log in to Oracle Identity System Administration using
http://localhost:14000/sysadmin and change hostname and port no. accordingly.
Type username and password of admin.
Create and activate a sandbox. Click on Sandboxes on upper right corner.
Click on Create Sandbox.
Give a name to your sandbox and click Save and Close.
Click on Form Designer in the left pane under Configuration header.
Search for the form of User Type and click User.
Click on Create icon under Custom Panel
Select Field Type as Text and click OK.
After Clicking OK button you will receive a custom attribute wizard .
Fill up fields as shown below and Click Save and Close to Save.
Now goto Manage Sandboxes tab , Select the activated sandboxes and Click Publish Sandbox to
Commit the changes done so far.
So far we have registered the new attribute in User Form.
2. ADDING A NEW ATTRIBUTE IN FORM
Login to OIM Self service Console using http://localhost:14000/oim and change hostname and port no.
Enter the admin username and password.
Click on the Sandboxes to create a new Sandbox
Click on the Create Sandbox, enter following details then save and close the wizard.
Click Users under Administration in left pane.
Click Create to open User Creation Form.
Fill the mandatory fields to avoid some validation exceptions.
Click on the Customize link situated at above right corner to customize the user form.
Click on the View and select Source to edit ADF code.
Select basic Information Area of User form to add attribute there by using your mouse pointer.
After selecting the area a confirmation window appears, Click Edit and confirm.
Now click Add Content button. Scroll, search, and click Data Component - Manage Users Link.
Scroll Down and search for UserVO1 Component. Click it.
After clicking a new wizard will get appear , scroll deep down and search for Major_Skill text box
Click on the add button on left and select ADF Input Text W/ Lable. You can observer that
a new Field is automatically appears in User Form in Basic Information Area. Close Wizard.
Select the new attribute in ADF editor and click edit
Check on the Auto Submit and click ok.
Close the Customize window.
3. CREATE A NEW USER
In Create User Form just fill with some information and submit
4. CHECK NEW USER AND ATTRIBUTE IN OIM USER TABLE
Check User in Database and find the new attribute (column) USR_UDF_MAJOR_SKILL