OIM 11g - Renaming an UDF attribute
Hi,
May I know how i can rename a custom defined user attribute in OIM 11g?.Thanks.
878153 wrote:
Thanks BB.My requirement is to renamed a UDF which I have created.For example,I created a UDF with labee "Mobile" and want to change it to "Telephone" .May I know how I can achieve this?.If you want to define the label for your attribute in GUI, then use resource bundles to define the label for your label:
$OIM_ORACLE_HOME//server/customResources/customResources_<your language>.properties
Add the global.udf. prefix to the name of the attribute.
Otherwise, you will have to create a new attribute and delete the old one.
Similar Messages
-
OIM 11g R2 Exporting UDF without sandbox!
Hi, I'm trying to export the UDFs att from a User Form, but I lost the sandbox whit i make the customizations.
Is there any way to recover the Sandbox or export this att to another OIM 11g r2 Server??
Regards!!If you create new sandbox and modify any UDF and export that sandbox before publishing.
Once you publish sandbox of UDF and then you try to export sandbox in that case you will lost your UDF changes.
For UDF's always export sandbox before publishing sandbox. so that you have exported sandbox which you can import into another environment. -
OIM 11g r2 User UDF fields Updation based on AD ID
Hi,
We have to update the UDF fields created for the users in OIM using the data from a table.
This table contains the AD ID, and other fields.
OIM User (already available) will be updated based on AD ID ….i;e AD ID column will be used to find the user in OIM and then his UDF will be updated based on the respective data from other columns in the table .
Please can you help me on this task?
Thanks,Your requirement doesn't tell much like when you want to update your user. If it would be on daily basis then go for Schedule Task, if you want to at the time of provisioning then you can have one task and attach your code to bring AD ID in OIM..
You may leverage Event Handlers as well if your use case requires that. -
OIM 11g R2: Organization UDFs problem
Hi all,
I tried to create an UDF NOT for User entity but for Organization entity.
In my environment OIM is installed in 11g R2 version (11.1.2.0.0).
I'm not completely new about this activity with this OIM version because I created some UDFs for User entity also and all of them work fine.
To customize the Organization entity, I followed Oracle documentation fitting it for Organization entity instead User one, but I get an error.
Here high-level steps that I've done:
1. created and activated a sandbox
2. looked for Organization form
3. modified it adding MyCustomField
4. opened Create Organization Form
5. customized it adding MyCustomFild
6. created a new organization MyTestOrg
Note: for steps 1, 2, 3 I followed this document http://docs.oracle.com/cd/E27559_01/admin.1112/e27149/customattr.htm#CHDDIGCI, while for steps 4 and 5 this one http://docs.oracle.com/cd/E27559_01/admin.1112/e27149/customattr.htm#BABGDEIC
Once I created the new Organization I checked the result, but closing and opening again MyTestOrg details, my custom field is empty.
I also checked at database side and I noticed that the value specified for MyCustmField of MyTestOrg was saved to Xellerate Users default organization.
I executed this test for four times with the same result.
To verifiy this behaviour, I've done the following test:
1. at database side, I manually updated MyCustomField for MyTestOrg
2. at database side, I manually updated MyCustomField for Xellerate Users default org
Once executed the first test, I verified that using OIM web interface the value specified does not appear in any organizations.
While once executed the second test, I verified that the value specified appear in all of the organizations. It's seams that Xellerate Users organization modification is spawned for all organizations.
It sounds like a bug.....
Do you have any suggestions?
Thanks
DanieleHi,
for anybody who's interested, I have some news about this problem.
Here the answer that support provides to me:
check if the following doc addition helps you with the issue?
http://docs.oracle.com/cd/E27559_01/admin.1112/e27149/customattr.htm#CHDDIGCI,
Section "7.5 Adding a Custom Attribute" in OIM Administration Guide needs to be updated as follows:
Step 12, add the following:
For Organizations (includes create and modify organization), select Data Component - Organization
Step 13 - we need to mention all the VOs that they're supposed to select based on selection they made in Step 12. We need to add the following: For View User Details, select UserVO1
For Create User, select userVO
For Modify User, select userVO
For Manage Roles (create / modify role), select RoleDetailsVO
For Organizations (create / modify organization), select EditOrgVO
Step 18b - the EL provided only works for user page. On other pages they're
basically supposed to copy the EL of valueChangeListener property from any
other existing field on the form.With this suggestions, the initial problem was resolved, but a strange behaviour still occurs.
Infact, after the new organization creation (with UDF field valorized), if I try to modify the value for custom field MyCustomFiled (for example from "MyCustomValue_2" to "MyCustomValue_1"), the button Apply remain inactive (so I can't save the modification - see screenshot "inactive-apply-button.png"). It become active only if I modify a standard field also (for example Organization Name or Type).
About this last problem, the support needs to check it.
I'm waiting an answer.
I'll give you news as soon as possible.
Bye
Daniele -
OIM 11g R2 -Updating UDF through code
Hi,
I am using the below code to update the UDF and getting "oracle.iam.identity.exception.ValidationFailedException: IAM-3056160:Modify User Profile request cannot set or change attribute USR_UDF_TEMPUSERNAME, since it is not defined in the corresponding data set.:Modify User Profile:USR_UDF_TEMPUSERNAME"
UserManager usrMgr = Platform.getService(UserManager.class);
System.out.println("User Key :: "+usrKey);
HashMap<String, Object> attrMap = new HashMap<String, Object>();
attrMap.put("USR_UDF_TEMPUSERNAME",attrValue);
User user = new User(String.valueOf(usrKey), attrMap);
UserManagerResult result = usrMgr.modify("User Login", usrLogin, user);
Can some one please help me out on this.
ThanksHi Rajiv,
I quite did not get your question. Here is the code:
Long usrKey = getUserKey(usrLogin); //usrLogin is of the user whose attribute is to be updated
UserManager usrMgr = Platform.getService(UserManager.class);
HashMap<String, Object> attrMap = new HashMap<String, Object>();
String attrName = "TempUserName";
String attrValue = "TestUser1";
attrMap.put(attrName,attrValue);
User user = new User(String.valueOf(usrKey), attrMap);
UserManagerResult result = usrMgr.modify("User Login", usrLogin, user);
Thanks -
OIM 11g R2 Custom UDF Creation
We have created custom UDFS, but when I try to create a new user with the new field, the data for the new field is not getting saved in the USR table.
We have checked the 'Auto Submit' for that field (on the Create User page) and for the Value Change Listener, I tried to add #{pageFlowScope.cartDetailStateBean.attributeValueChangedListener}, it is throwing an error.
Mset Auto submit true. you can't set the value for ValueChangedListener property in current release of R2. This is bug and you can raise SR for same. But, this won't cause saving data into USR table. ValueChandedListener property for Modify User page only.
As you said, data is not being saved in the USR table then verify your steps again:
create sandbox->users->create user/edit user/view user details page->click customize->leftTopcorner->View->Source->select area->edit->Click Add Content (on left top)->Data Component catalog->scroll down and select User VO->Refresh dialogue box->select the field and click 'Add'->on dropdown select 'ADF Input test w/label/for view user page it should be output test w/label->close that window->Check if it added to create user form->save and close customization
for user detail page select "Managed User->UserVo1 " as datacomponent
Re: UDF creation on User form in 11gR2
for valuechangedlistener the fixes all ready available. you have to do some workaround as other poster has given in above link:
1.Create a sandbox and activate it. Open the page that contains the UDF, and click Customize.
2.Select View, Source.
3.Note the value of the valueChangeListener property of a predefined field. To do so:
a.Click the predefined field, and then click Edit to open the Component Properties dialog box.
b.Copy the value of the valueChangeListener property.
4.Export the sandbox as a ZIP file.
5.Extract the ZIP file and edit the jsff.xml file for the specific screen.
6.Add the following attributes to the ADF tag, for example af:inputText, for the UDF:
◦valueChangeListener=VALUE_COPIED_IN_STEP3
◦autoSubmit="true"
7.Create the ZIP file for the sandbox.
8.Import the sandbox.
9.Publish the sandbox.
Edited by: Nishith Nayan on Sep 21, 2012 1:04 PM -
Hi,
I try to set an attribute ("Action") of users on a target system (Lotus Notes) dependend on the type of process that was carried out:
When the user is created in Lotus Notes by oim, "Action" should be set to the value "create".
When the user is updated in Lotus Notes by oim, "Action" should be set to the value "update".
When the user is disabled in Lotus Notes by oim, "Action" should be set to the value "disable".
What would be the easiest way to achieve that? And how exactly would I have to set that up? (I have tried reading the documentation on Adapter Tasks, however I wasn't able to get that to working...).
Thank you!
MHi J,
thanks for your reply. I had some troubles trying to follow your description, but this is what I did:
1) Create one field in your process form as "Action".
I used the pre-existing field "RoamSubdir"
2) Create a new Process Task in Lotus Notes Process Defn for "Action Updated" (You can use OOTB adapter for mapping purpose)
DesignConsole: Process Management > Process Definition > "Lotus User", Add: "RoamSubdir Updated"
3) Create a new Process Task Adapter which populates which takes input as input1 and return the input.
Development Tools: Adapter Factory > Adapter Name "RoamSubdirAction", Adapter Type: "Process Task" > Tab "Variable List", Add "Name: input1, Type: String, Mapped As: Resolve at runtime", Tab "Adapter Tasks" > Add "Logic Task", "Set Variable", Variable Name "Adapter return value", Operand Type "Variable", Operand Qualifier "input1"; Click "Build".
4) Create 3 Process Tasks in Lotus Notes Process Defn . One for each action. For example: Update Action As Enable, Update Action As Disable, Update Action As Create. In each process tasks, pass input as Enable,Disable and Create respectively.
Process Management > Process Definition > "Lotus User", Add: Task Name: "Update SubRoamdir As create", Tab "Integration", Add, "Adapter", adpROAMSUBDIRACTION. Edit "2|N|input1|input", Map To: Literal, String, create; Edit "1|N|AdapterReturnValue|ReturnVariable", Map To: Process Data, Qualifier: RoamSubdir
5) Map each tasks created at step 4 to success of Create User, Enable User, Disable user respectively.
Process Definition > Edit "Create User" > Task Dependency, Dependent Tasks, Assign "Update RoamSubdir as create"
However, this does NOT work. When provisioning a new user on Lotus, looking into the resource history I can see that "Update RoamSubdir as create" is NEVER called.
Did I do something wrong?
Thanks for your help,
M -
How to give query in lookup type udf in OIM 11g
Hi,
In OIM 9.x, we were able to provide query in lookup type field in users UDF to fetch data from DB and display it in lookup table.
Where as in OIM 11g, I cant find that option. We need to provide user id in lookuptype field based on some query. Please let me know where we can do the same in OIM 11g.
Thanks,
Kalpana.In OIM 9.x, we had below query in one of the lookup type attribute:
select usr.usr_udf_empid,usr.usr_first_name,usr.usr_last_name from usr where usr.usr_emp_type='Full-Time' and usr.usr_status='Active' and usr.USR_UDF_EMPID is not null
The lookup used to show firstname, lastname & employee id of active employees in the lookup.
Where we can achieve the same in OIM 11g?
Thanks,
Kalpana. -
Export User Attributes in OIM 11g
Hi,
Can anyone let me know how to export User defined attributes in OIM 11g (11.1.1.5)? I couldn't find option in export manager for user defined fields (as in 9.x version).bbagaria wrote:
madhatter wrote:
BTW, the result of exporting the "User UDF" category contains the /file/User.xml too. So, you need not deal with metadata directly to get this file.Interesting, never worked for me.Use the code snippet in the Export section at http://idmclub.wikidot.com/import-export-deployment-artifacts
Use "User UDF" instead of "Resource". You will get something like the following:
<?xml version="1.0" encoding="UTF-8"?>
<xl-ddm-data version="2.0.0.0" user="XELSYSADM" database="jdbc:oracle:thin:@localhost:1521/orcl" exported-date="1312490747931" description="">
<Form repo-type="RDBMS" name="USR" subtype="User UDF">
<SDK_ORC>0</SDK_ORC>
<SDK_SCHEMA>DEV_OIM</SDK_SCHEMA>
<SDK_DATA_LEVEL>2</SDK_DATA_LEVEL>
<SDK_DESCRIPTION>Users - User Defined Fields</SDK_DESCRIPTION>
<SDK_UPDATE>1304799781000</SDK_UPDATE>
<SDK_ACTIVE_VERSION>0</SDK_ACTIVE_VERSION>
<SDK_LATEST_VERSION>0</SDK_LATEST_VERSION>
<SDK_TYPE>S</SDK_TYPE>
<FormField repo-type="RDBMS" name="USR_UDF_LS_CHG_CODE">
</FormField>
<FormAdministrator repo-type="RDBMS">
</FormAdministrator>
</Form>
<UserXml repo-type="MDS" name="User" mds-path="/file" mds-file="User.xml">
<completeXml>
<UserXml>
<entity-definition xmlns="http://www.oracle.com/schema/oim/entity">
</entity-definition>
</UserXml>
</completeXml>
</UserXml>
<DataObjectDef repo-type="RDBMS" name="com.thortech.xl.dataobj.tcUSR">
</DataObjectDef>
</xl-ddm-data>Enjoy the UserXml XML element!
Disclaimer: I use 11.1.1.3, not 11.1.1.5
Edited by: madhatter on Aug 5, 2011 1:10 AM -
How to find history of changes of organization attributes in OIM 11G?
Hello.
I need to find fistory of all changings in organization attributes, chould you help me to find, what table can i use for it?
I use OIM 11G and oracle database 11.2.0.Hello, Thank you for your answer.
I mean modification of an organization such as changing of the organization name, status, etc. As i understand your previous answer, there is no table that keeps such information. Is it right?
If it is right, how can I find it?
Should I make any triggers or can i find informations in another way? -
Available attributes in OIM 11g notifications
We have been using the new notifications templates in oim11g following the descriptions as given in the blog post below.
http://fusionsecurity.blogspot.com/2011/07/oim-11g-notifications.html
This is how an event is specified:
<?xml version='1.0' encoding='UTF-8'?>
<Events xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../notification/metadata/NotificationEvent.xsd">
<EventType name="ApprovalTaksOpenEvent">
<StaticData>
<Attribute Name="usrLogin" DataType="X2-Entity" EntityName="User"/>
</StaticData>
<Resolver class="oracle.iam.request.notification.CustomResolver">
<Param Name="usrLogin" DataType="X2-Entity" EntityName="Request"/>
</Resolver>
</EventType>
</Events>
Basically we found that wat is in the StaticData part is show in the notification template interface as Available data (in the above example all user attributes are shown). Now my question is it somehow possible to have any attribute show in the Available Data section of an Notification Template. It would be create if "business" users don't have to "guess" which placeholders are available for a certain notification template. I already tried the variant below but it did not have the desired result.
<StaticData>
<Attribute Name="somePlaceHolder" DataType="String"/>
</StaticData>
Greetings
Bas
Edit-> As per documentation it should be possible to do this with the non static data, I will investigate it furter
Edited by: bsteen on Apr 6, 2012 7:11 AMYou can open the jar file with a decompiler and just view the NotificationResolver class and see what attributes are being sent to it.
-Kevin -
Exchange attributes -OIM 11g R2
Hi,
I am on OIM 11g R2
I am trying to configure Exchange connector (latest version) with connector server installed. Now in our env we populate multiple values for proxyAddresses -as SMTP, smtp, sid. How do we handle this in Exchange connector?
Also, I can see that there many primary exchange resource related attributes (like msExchUserAccountControl, msExchMailboxGuid) which are not mentioned any where in Exchange connector. How do we handle them?
ThanksFor proxyAddress as it is multiple attribute, best way in OIM is via child table. But there is issue with ICF exchange v11.1.1 connector where it is not able to update the proxyaddress. I already have bug filled for it. Not sure about the other attributes you mentioned. The are single valued so you can try extending the connector to include them as per connector doc and check the behavior.
My response is based on my exp with ICF and OIM11G R1. Since the connector version is same for R2, thus the reponse.
-Bikash -
OIM 11g R2: Delete User UDF fields
Hi all,
I installed and configured OIM 11g R2. In this environment I created an UDF for User entity.
Here the steps that I followed:
- created a sanbox
- opened User Form
- added a custom field named "MyCustomField". The type field is Text.
Now, due to a mistake during UDF creation, I have to delete it.
I found this post (OIM 11gR2 - Unable to remove UDF which describe how to delete an UDF field.
The post gives these instructions:
- export the sandbox
- remove UDF occurences in xml files
- import the sanbox
I followed the instructions and at the and I checked the result: the UDF field does not exist in the User form, but the associated database field still exits in database.
My question is: how I can delete the database filed without create database inconsistency?
Thanks in advance,
DanieleHi Nayan,
I tried to export Users.xml using Depolyment Manager Export, but I the export failed whit this error.
[2012-10-09T10:03:37.366+02:00] [oim_server1] [ERROR] [] [XELLERATE.WEBAPP] [tid: [ACTIVE].ExecuteThread: '7' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: fc578f2854422d44:67bee673:13a2720c2c5:-8000-0000000000015853,0] [APP: oim#11.1.2.0.0] Class/Method: LoadDeploymentUtility/handleExportData encounter some problems: invalid character in name[[
Thor.API.Exceptions.tcAPIException: invalid character in name
at com.thortech.xl.ejb.beansimpl.tcExportOperationsBean.getExportXML(tcExportOperationsBean.java:245)
at Thor.API.Operations.tcExportOperationsIntfEJB.getExportXMLx(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: oracle.xml.parser.v2.XMLDOMException: invalid character in name
at oracle.xml.util.XMLUtil.validateName(XMLUtil.java:464)
at oracle.xml.parser.v2.XMLDocument.createElement(XMLDocument.java:877)
at com.thortech.xl.ddm.repositories.api.impl.APIRepository.getElementforHashMapAttribute(APIRepository.java:552)
at com.thortech.xl.ddm.engine.visitor.ExportVisitor.visitStarted(ExportVisitor.java:126)
at com.thortech.xl.ddm.engine.data.datatypes.SchemaInstance.traverse(SchemaInstance.java:252)
at com.thortech.xl.ejb.beansimpl.tcExportOperationsBean.export(tcExportOperationsBean.java:281)
at com.thortech.xl.ejb.beansimpl.tcExportOperationsBean.getExportXML(tcExportOperationsBean.java:235)
... 120 more
]]Do you have any other suggestions?
Thanks,
Daniele -
OIM-AD connector Issues in OIM 11g
Hi
We are trying to provision user from OIM 11G to AD using Administration Tab of Admin Console.
As part of ADITResource configuration , follwoing fields are included.In the Enterprise manager OIM server log, we are getting the below error message.
Error Message In Enterprise manager OIM server log -
Module OIMCP.ADCS
Thread ID [ACTIVE].ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'
Message com.thortech.xl.integration.ActiveDirectory.tcUtilADTasks : createUser : Wrong Value Specified in Root Context of IT ResourceOr Organization DN_
However, in Admin console Selfservice-->Task-->Provisioning -->Shows error as
Response:Connection Error encountered
Response Description: Error encountered while connecting to target system
We have sucessfully tested the connection using Diagnoistic Dashboard (XIMDD) & Ldap Browser.
IT Resource Details-
Parameter Value
AD Sync installed (yes/no) no
ADAM LockoutThreshold Value 5
ADDisableAttr Lookup Definition Lookup.ADProvisioning.DisableAttrLookup
ADGroup LookUp Definition Lookup.ADReconciliation.GroupLookup
Abandoned connection timeout 600
Admin FQDN cn=administrator,cn=Users,dc=example,dc=com
Admin Login administrator
Admin Password ********
Allow Password Provisioning yes
AtMap ADGroup AtMap.ADGroup
AtMap ADUser AtMap.AD
AtMap Group AtMap.ADGroup
Atmap ADOrg AtMap.ADOrg
Backup Server URL [NONE]
Connection pooling supported false
Connection wait timeout 100
Custom Attribute Name
CustomizedReconQuery
Inactive connection timeout 600
Initial pool size 1
Invert Display Name no
LDAP Connection Timeout 30000
Last Modified Time Stamp 0
Last Modified Time Stamp Group 0
Max pool size 30
Min pool size 2
Native connection pool class definition
OIM User UDF
Pool excluded fields
Pool preference Default
Port Number 389
Remote Manager Prov Lookup AtMap.AD.RemoteScriptlookUp
Remote Manager Prov Script Path
ResourceConnection class definition com.thortech.xl.integration.ActiveDirectory.ADResourceConnectionImpl
Root Context dc=example,dc=com
SSL Port Number 636
Server Address WIN-PEUB23TMMT4.example.com
Target Locale: Country US
Target Locale: Language en
Target Locale: TimeZone GMT
Target supports only one connection false
Timeout check interval 100
UPN Domain example.com
Use Disable Attr false
Use SSL false
Validate connection on borrow true
isADAM no
isUserDeleteLeafNode no
For Organization we have selected ou=Test,dc=example,dc=com in our lookup defination
Please suggest....
ThanksIt's not Key, it's the Scheduled Task attribute "IT Resource Name"
Documentation: http://download.oracle.com/docs/cd/E11223_01/doc.910/e11197/using_conn.htm#CHDFBAAC
Here is the documentation on the lookup format: http://download.oracle.com/docs/cd/E11223_01/doc.910/e11197/intro.htm#CHDHCCJD
-Kevin -
How to create Lookup field in user form in OIM 11g - Urgent
Hi Experts,
How to create Lookup field in User Form - OIM 11g.
Pls. provide your support on priority.
Regards
KaranThanks all for your suggestion.
Our requirement, is we need to have a user defined field similar to how its there in "Organisation".
For example we need to create an user defined field like "Service Holding" which holds different services say like Service 1, Service 2, Service 3 etc.
Under each service there are multiple roles....
Eg:
Service 1 - Role 1, Role 2, Role 3
Service 2 - Role 4, Role 5
Service 3 - Role 6, Role 7, Role 8
Is there a way to store multi-valued attribute in OIM UDF? If so, pls. guide us
If its not possible we would need to create a Lookup field (something similar to Organization or Manager). User clicks on the button (lens button), which should invoke an API wherein he can select specific Roles and save in User. Eg. like Service 1 - Role 1#Service 2 # Role 5 and store in the backend database.
Is this possible. Pls. guide.
Regards,
Karan
Maybe you are looking for
-
CSV spreadsheet returning "no data found"
Hi, In one of the reports, I enabled CSV Output so the report can be downloaded. When I download it, using Excel 2000, I have no problem, I can see all the right data. However, one of my user, who uses Excel 2002, when saves the file and opens it, re
-
OER Installer does not create Weblogic Doamin
Hi I'm trying to install OER (OER10300_win32.exe) on weblogic 10.3 (windows environment). Once the installation completed, the installation process created "repository103" folder under WLS10.3 home (like D:\Bea\repository103), it also creates a domai
-
I cannot launch iTunesSetup.exe - unknown publisher
When I open iTunesSetup.exe after downloading it from the website there is warning message that the file does not have a valid digital signature & is from an unknown publisher. This is confirmed when right clicking the file & selecting properties. I
-
I wrote a package in PL/SQL that based on an Oracle table and some java-script variables that the user enters (Month and Year), changes the value of one of the columns of the table. I wrote a javascript method that sends the value of Month, Year and
-
G'day, I am trying to design a portlolio of a form/document that will eventually be encrypted with multiple certificates to open the individual documents inside the portfolio. But all that for another thread. What I need to know is can Data be entere