Refer to “Adding Custom Attribute to LDAP Account Provisioning in OIM 11g R2” for details flows & Screenshots.
To create a custom attribute or UDF:
- Log in to Oracle Identity System Administration.
- Create and activate a sandbox. For detailed instructions on creating and activating a sandbox, see the “Managing Sandboxes” section of Oracle Fusion Middleware Developer’s Guide for Oracle Identity Manager.
- In the left pane, under Configuration, click Form Designer. The Form Designer page is displayed.
- Search and open the form in which you want to create the UDF. For example, you can open the form “User” to create or modify user to add a UDF to the form.
- In the Custom section of the Fields tab, click the Create icon. The Select Field Type dialog box is displayed.
- Select a field type you want to create. The available field types are:
- Text: Select this option to create a text field.
- Number: Select this option to create a numeric field.
- Checkbox: Select this option to create a checkbox field.
- Date: Select this option to create a date type field.
- Lookup: Select this option to create a lookup field in which users can search and select the value. Note that there are two types of lookups that you can create:
- A drop-down list from which you can select a value.
- A searchable picklist (ADF name input list of value), from which users can search and select the value. If you want to create a searchable picklist, then on the Create Lookup Field page, under the Advanced section, select Searchable Picklist.
After you create a UDF for dependent lookups (a lookup field that is created with the Constrain list by parent field value selection option selected), you must set the partialTriggers property through WebCenter composer to refresh the values in the dependent lookup. To do so, see the procedure described in “Creating Cascaded LOVs”.
- Click OK. The page to create a custom field is displayed.
- Enter values in the fields of the Create Text Field page. Table 7-1 lists the fields in the Create Text Field page. Depending on the type of field that you are creating, the fields on the listed in the following table varies.
Table 7-1 Fields in the Create Text Field Page
Section Field Description Appearance Display Label The custom field label that is displayed in the form. Display Width The display width in characters. If you do not specify a value for this field, then the length of the field is taken as default. Name Name The unique custom field name. This field is of internal use only, and the value of this field is not displayed to the user. Description The description of the custom field. This field is of internal use only, and the value of this field is not displayed to the user. Constraints Searchable Determines if the custom field can be searched by the user.Note: If you select the Searchable checkbox, then in the Advanced section, you cannot selectEncrypt. A custom field that is marked as searchable cannot be encrypted. Maximum Length The maximum length of the field in characters. Default Value Text field The default value of the custom field. The value you specify in this field is set for the field when the object is created.Note: The field below the text field is grayed out and is not used. Advanced Encrypt Determines whether the custom field must be encrypted.Note: If you select the Encrypt checkbox, then in the Constrains section, you cannot selectSearchable. A custom field that is encrypted cannot be searchable. Use in Bulk Determines whether the attribute is available in bulk operations. LDAP Attribute Name of the attribute in the LDAP repository to which this custom attribute must map to.Note: Unless LDAP synchronization is enabled, setting a value for this field has no effect. For more information about enabling LDAP synchronization, see the “Configuring OIM Server” chapter in Oracle Fusion Middleware Installation Guide for Oracle Identity and Access Management.
- Click Save and Close. The UDF is created in the backend and is displayed in the Custom section of the Form Details page.
- If required, you can export the sandbox to store all the changes made in your sandbox. For detailed instructions on exporting a sandbox, see the “Managing Sandboxes” section of Oracle Fusion Middleware Developer’s Guide for Oracle Identity Manager.
- Publish the sandbox. For detailed instructions on publishing a sandbox, see the “Managing Sandboxes” section of Oracle Fusion Middleware Developer’s Guide for Oracle Identity Manager.
When you create a UDF by using the Form Designer, it is created in the back-end, and is not available for use. To make it available for use to the user, you must include the UDF in the Oracle Identity Self Service page on which it will be displayed. For information about including a UDF in the Oracle Identity Self Service page, see “Adding a Custom Attribute”.