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:
Upgraded to AM 7 or later.
AM 7 introduced a profile attribute allowlist. Common profile attributes are allowlisted by default, but you must add any custom attributes that you want your non-administrative users to see as noted in AM 7 Critical Changes.
If custom profile attributes are not allowlisted, then their data will not be visible to end users.
This issue can be resolved by allowlisting the missing profile attributes.
You can allowlist profile attributes using either the AM admin UI or Amster:
- AM admin UI: 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