Add a Binary Attribute or Picture to a Profile Screen

You can configure to include a binary file or display a picture on a user profile screen. For example, you can configure a user profile screen to allow users to attach a document, such as a certificate, to the profile screen or display a digital photograph of the user being managed.
cim1265
You can configure
Identity Manager
to include a binary file or display a picture on a user profile screen. For example, you can configure a user profile screen to allow users to attach a document, such as a certificate, to the profile screen or display a digital photograph of the user being managed.
This functionality is available only for user profile screens. The user store must be an LDAP directory and the binary attribute or picture must be stored in attribute that is defined in the directory configuration file (directory.xml).
To add a binary attribute or picture to a Profile screen
  1. Select the field below the row where you want to add the picture and click the Add button to add one row with one field above the row you selected.
    Identity Manager
    adds a new field above the field you selected.
  2. Click the Edit icon to edit the new field.
    The Field Properties dialog opens.
  3. Select the (Separator) attribute in the Attribute Name field.
  4. Select one of the following options in the Style field:
    • Binary
    • Picture
    Identity Manager
    displays new configuration fields in the Field Properties dialog.
  5. Complete the following fields as needed:
    • Name
      The label you want for this field in the profile screen.
    • Permission
      The privilege level for the field.
      Note:
      If a field is required by the user store, choose a Required setting. Required fields are indicated by a red dot in the screen.
      • Read
        An administrator can view but not modify the field.
      • Read/Write
        An administrator can see the current value of the field (if one exists), and can enter a value for the field.
      • Read/Write Required
        A required field, but otherwise functions as the Read/Write setting.
      • Write Once
        An administrator cannot see the current value of the field (if there is one), but can enter a value.
        For example, an administrator can change a user’s password, but cannot view the user’s current password.
      • Write Required
        A required field, but otherwise functions as the Write setting.
    • Label span
      The number of columns that the label will span.
    • Field span
      The number of columns that the field will span (excluding the label)
    • CSS Class
      The Cascading Style Sheet class that controls the presentation of this field.
      This field is available for picture attributes only.
    • CSS Style
      Field properties and style defined using CSS rules.
      You can use this field to set the width of a field. For example, to set the width of the field where the picture will display to 300 pixels, you specify the 300 pixels in the CSS Style field.
      This field is available for picture attributes only.
  6. Binary Attribute Name
    Specifies the name of the attribute that stores the image. This attribute must exist in the user store, but should not be defined in the directory configuration file (directory.xml).
  7. Content Type
    Specifies the MIME type of image that will be displayed. For example, for a binary file, you may specify application/octet-stream. For a picture, you may specify image/gif or image/jpg.
  8. Alternate Content
    Specifies the URI of an alternate image that
    Identity Manager
    displays when an image is not available for a certain user.
    Identity Manager
    includes a default image that is displayed when another image is not available; however, you can use this field to override the default image.
    The default image is located in
    iam_im.ear
    \user_console.war\ui\images\user_photo_default.jpg
    iam_im.ear
    is the deployed location of
    Identity Manager
    on the application server.
    Specify the path to alternate image, which has the same content type as the attribute, relative to user_console.war.
    This field is only available when you select the Picture style.
  9. Click Apply, then click OK to save changes.