Previous Topic: Logical Attribute Handler at Run Time

Next Topic: Use Case Example: Formatting a Date Attribute

Example: Assigning a Logical Attribute to a Field

Suppose a newsletter publisher makes portions of its newsletter available online. Users register for the site through the default CA Identity Manager self-registration screen. The only modification to the default screen is an additional field that asks users whether they currently subscribe to the printed newsletter. A logical attribute handler places subscribers and non-subscribers in different organizations when they self-register for the online version. The value supplied to the field configured with the logical attribute is not written to the data store.

The following steps show how to add the new field and configure it with the custom logical attribute |subscriber|.

Note: The logical attribute must first be defined in the Management Console. It is not a predefined logical attribute shipped with CA Identity Manager.

To configure a custom logical attribute in a Profile screen

  1. In the User Console, select Roles and Tasks, Admin Tasks, Modify Admin Task.
  2. Click Search to display a list of all admin tasks.
  3. Select the Self Registration option button, then click Select.
  4. Click the Tabs tab in the Modify Admin Task Self Registration screen.
  5. Click the edit button next to the Profile tab in the list of tabs.
  6. Click the browse button to the right of the Screen field in Configure Profile.

    A list of profile screens appears.

  7. Be sure that the Self Registration Profile option button is selected in Select Screen Definition, then click Edit.
  8. Add a new field to the Self Registration screen in Configure Standard Profile Screen by selecting the check box to the left of Password, then clicking the appropriate Add button.
  9. Click the edit button to the right of the newly added field.

    A list of field properties appears where you can define the new field.

  10. Select the name of the logical attribute to assign to the new field (in this case, |subscriber|) in the Attribute Name field within the Field properties box.

    Note: For |subscriber| to be listed in Attribute Name, it must first be defined in the Management Console.

    The Field properties box reappears, containing all the properties that apply to the |subscriber| logical attribute.

  11. Finish defining field properties and click Apply.

Note: For more information about adding a field to a task screen and configuring the field with an attribute, see the Administration Guide.