Hi Experts,
I’m trying to update an custom Identity attribute flag : “Multivalued” as TRUE. When I invoke a API, I do see response code as 200, but the attribute flag is not getting updated.
Usecase : I have an account attribute [multivalued] and I need to populate all the values in my Identity attribute.
Can someone help on this.
Yathish
(yathish Ponnana)
May 9, 2024, 9:49am
2
Hi @chandramohans27 ,
Account attributes can be Multivalued but Identity attributes cannot be multivalued, It’ll only take the first value present.
2 Likes
@Yathish Thanks for your reply.
As per ISC document, I see the Identity Attribute has a flag : multivalued which can be modified.
If this is not supported, is there any other option to populate all the values from account attribute in Identity attribute
jesvin90
(Jesvin Joseph)
May 10, 2024, 2:39pm
4
Hi @chandramohans27 ,
Take a look at the below thread for your solution :
I missed a method on the $identity object, this can actually be done in a more simple way.
There is a method getLinksByAppIdOrName(String appId, String appName) that as it states returns accounts given an id or name of an application.
Including this results in the following transform:
{
"attributes": {
"value": "#foreach($link in $identity.getLinksByAppIdOrName(\"2c918088814e6a610181686b56977fa8\",null))#if($foreach.index + 1 != $identity.getLinks().size())$link.getNativeIdentity(…
system
(system)
Closed
July 9, 2024, 2:40pm
5
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.