Custom user profile attributes are missing from the user profile page after upgrading to AM 7.x
The purpose of this article is to provide assistance if custom fields on the user profile page are empty after upgrading to AM 7.x.
Symptoms
Custom fields on the User Profile page are blank after upgrading even though the field is populated. For example, if you had added a custom attribute (My Custom Attribute) in a previous version of AM and it was populated for a user (demo), they would see the following after upgrading to AM 7 instead of a value for the custom attribute:
Recent Changes
Upgraded to AM 7 or later.
Causes
A User Profile Whitelist has been introduced in AM 7. Common profile attributes are whitelisted by default, but you must add any custom attributes that you want your non-administrative users to see as noted in
If custom profile attributes are not whitelisted, then their data will not be visible to end users.
Solution
This issue can be resolved by whitelisting the missing profile attributes.
You can whitelist profile attributes using either the console or Amster:
- Console: navigate to: Realms > [Realm Name] > Services > User Self-Service > Profile Management and update the Self readable attributes field.
-
Amster: follow the steps in How do I update property values in AM (All versions) using Amster? with these values:
- Entity: UserSelfService
- Property: profileAttributeWhitelist
See Also
Related Training
N/A
Related Issue Tracker IDs
N/A