Tuesday, February 9, 2016

Adding additional attributes in Edit User Profile Page of WebSphere Portal

Many a times we face a need to have additional / custom attributes to be added in Directory Server (LDAP) to store user specific data.

Considering that this additional / custom attribute has been added to the VMM of Portal. We might have a need to see the value stored in that attribute for a particular user. This attribute will not appear directly in the edit user profile page.

Following are the steps to make such attribute available in the Edit User Profile page:

  • In Portal Administration > Manage Pages search for Edit My Profile page



  • Click on Edit Page Layout
  • In Profile Management Portlet Click Configure

  • A list of all the available attributes will appear which are added in the VMM.
  • Select the required attribute and click ok.
  • Voila!! Now this attribute will start appearing in the Edit User Profile Page.



Another way of doing this is:

  • Navigate to Administration > Portlets
  • search for Profile Management portlet
  • click configure and add attribute name to the coma separate list of wps.portlets.displayed_user_attributes parameter


As per my observation, if we add an attribute of type Boolean using any of the above two ways, it will not get added to the Edit User Profile page.

If we have to add a Boolean attribute then adding it as a new preference in the configure mode of Profile Management portlet will do the trick.