Saturday 25 April 2015

Creating A Custom attribute in OIM 11gr2

1.     Steps to add a new custom Field in OIM User Parent Form/screen (VIMP)

Adding building Name which is available in OID to OIM User From
In OIM Admin Console:
a.       Create a sandbox as buildingSB, activate and refresh.
b.      Go to Form Designer,  select Type as user and Resource Type as OID User then search
c.       Go to user form, in the custom Add buildingName with constraint as searchable.
d.      Export the sandbox and then publish
e.      Sign out Admin console
In OIM self service console:
f.        Go to sandbox, import already exported “buildingSB”, refresh and activate
g.       Go to users – create new user and fill all the mandatory required fields
h.      Click on Customize link (on top). It prompts the new layer. Here go to Source (not design) and move to the section where you to place the new field. Here click on ‘Add Content’ – Data Component Catalog > userVO > select buildingName > Add (ADF input Text w/label), then close this layer.
i.         Publish the sandbox “buildingSB”
Note: When you want to modify user page and view user page here need to select as Data component - Manage Users.
Go to the userModifyForm.jsff.xml from <SandBox>\oracle\iam\ui\runtime\form\view\pages\mdssys\cust\site\site location and add the 2 attributes valueChangeListener="# {pageFlowScope.cartDetailStateBean.attributeValueChangedListener}" autoSubmit="true"
In OIM Admin Console:
j.        Go to lookup > Lookup.OID.Configuration >Lookup.OID.UM.Configuration > Lookup.OID.UM.ProvAttrMap. Here edit (pencil icon) > add the buildingName both meaning and code.
k.       Go to lookup > Lookup.OID.Configuration >Lookup.OID.UM.Configuration > Lookup.OID.UM.ReconAttrMap. Here edit (pencil icon) > add the buildingName both meaning and code.
In OIM Design Console:
l.         Go to Resource Objects > Search > OID User > Object Reconciliation/ Reconciliation Fields Tab > add field ‘buildingName’ and also click on “Create Reconciliation Profile” button (on top).
m.    Go to Form Designer > Search> UD_OID_USR > Create new version (buildingVer) > Select newly created version > Add > give the new building details (UD_OID_USR_BUILDING) then save and Pre-Populate tab (if required) add the new field details > make version active.
n.      Go to Process Definition > Search > OID user > Reconciliation Field mappings > add field mapping > buildingName with UD_OID_USR_BUILDING (column name in DB).
Click on the Add under Task tab > Create a new task buildingName updated similar to Last Name Updated (with all the required tab sections).
In OIM Admin Console:
o.      Create a sandbox "OIDProvUpdateSB", activate and refresh
p.      Go to Application Instances > Search > OIDUserProvAI > Create the new form (SOIDFormLatest) > Refresh and select the newly created form and then Apply > Publish the sandbox
Note: We cannot create new Application Instance (AI) with same IT Resource
                In OIM self service Console:
q.      Create user (venkat.kumar) with all mandatory fields including the newly added buildingName.
r.        Click on Request Accounts under Accounts Tab > Add to Cart OIDUserProvAI > Checkout > Select the Container DN (Hyderabad) > Ready to Submit > Submit
s.       Go to Accounts Tab of user and Refresh > Status shown as Provisioned
In OID Console:
t.        Now go to OID > Data Browser tab > Under Hyderabad you can see the newly created user
In OIM self service console:
u.      Now Modify the user account and change the details (Chennai) > Ready to Submit > Submit
v.       Go to Accounts Tab of user and Refresh > Status shown as Provisioned.

In OID Console:

w.     Now go to OID > Data Browser tab > Under Chennai you can see the user with the updated details.
x.       Do some updates on the buildingName field in OID and run the “OID Connector User Search Reconciliation” scheduler job. The updates will be shown in OIM “Modify Account” user.
Quick Flow process:
Constraints:
·         We cannot able to delete the existing entries in the lookups.
·         We cannot able to delete the existing field in the form designer of OIM Admin console.


2 comments:

  1. Thanks for the post. In above example, attribute name buildingName that is used cannot be added for a user since user comes in person objectClass in LDAP and buildingName comes in piloiOrganization objectClass. How do we handle this?

    ReplyDelete
  2. How to win at Lucky Club Casino site
    Lucky Club Casino. This site offers various casino games, casino games, and live dealer games. Lucky Club Casino. Lucky Club Casino. Lucky Club Casino. Lucky Club Casino. Lucky Club Casino. Lucky Club luckyclub Casino. Lucky Club

    ReplyDelete