How to deal with user-defined fields to OIM.
Object types supported
It is possible to add fields to the following types of objects:
- Organization (ACT table)
- User (USR table)
- Resource Objects (OBJ table)
- Role (UGP table)
- ITResource (SVR table)
Tables
Java API
Add/delete fields and field categories.
Currently the only method I know is to use OIM WEB interface. In theory, the ConfigManager service shall do attribute manipulation, in practice, it works in the server only, not in the client program.
Export/import
After you have all necessary attribute categories and attributes added, you may wish to export the data for future use. The master data is located in MDS, the path is file/User.xml. Export it with the following command:
oimtool --md-print /file/User.xml > User.xml
Note: importing the file to MDS is not enough, you shall update the SDC table accordingly, and do some other things.
You can import it back by the following command:
oimtool --md-import User.xml /file/User.xml
Alternatively, you can use Metadata Store API or any tool provided by Oracle to manage metadata.
Note: You will have to restart the server for the changes to take effect (maybe purging the cache may suffice).
Access policy
See Creating an Authorization Policy for User Management in User Guide.
Links
Forum
- How to export UDF and related columns?
- Create UDF using API
- Exporting UDF in OIM11g
- How to export UDF and related columns?
- Add UDF to Self Registration form in OIM 11.1.X
- OIM 11g UDF of UI type Lookup not reflected in Self Service Profile Page
- Export User Attributes in OIM 11g
- Adding custom attributes in siebel connector for trusted recon
- How to delete Custom User Attribute from user profile