Allow end users to update customer attribute in OpenAM 13

This topic has 1 reply, 1 voice, and was last updated 5 years, 6 months ago by subi.

  • Author
  • #15706

    I am following the ‘Customizing Profile Attributes’ section in OpenAM 13 Developer guide to add a custom attribute.
    While I was successful in getting the custom attribute displayed in the end user dashboard (using the classic UI), I am not able to edit the value. Procedure 4.3 of the developer guide has instructions on what to do in order to allow users to update the newly added attribute.
    While I was able to add <Value>customAttribute</Value> for iPlanetAMPolicyService, the second one seems to be tricky.
    The sunKeyValue parameter in sunEntitlementIndexes is actually empty. Is this how it should look like? should I update the parameter with the value as mentioned in the doc ? Pl advise.


    Solved !!! Thanks to an existing bug tracker [OPENAM 9273] for the lack of detailed instruction in this chapter.

    Basically the procedure 4.3 does not clearly explain ‘where’ to add the values under iPlanetAMPolicyService and sunEntitlementIndexes. Both these OUs have the attribute sunKeyValue at the OU level, where I had previously entered the recommended values (which was clearly wrong !). However, you need to go all the way to ‘dn: SelfWriteAttributes, ou=….’ and then you will find the attribute sunKeyValue with pre-existing values. This is where you need to enter the values mentioned in the doc.

    For iPlanetAMPolicyService, add <Value>customAttribute</Value> within the <AttributeValuePair>
    For sunEntitlementIndexes, add recommended value within the {\”attributes\”:[]}

    Hope this helps others who are stuck in this !!! :)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?