Edit value stored in Context

This topic has 1 reply, 2 voices, and was last updated 8 months, 2 weeks ago by violette.

  • Author
    Posts
  • #26096
     reeprice
    Participant

    In my IG instance I have setup UserProfileFilter and I am pulling user profile values from contexts.userProfile.rawInfo.uid The problem I have is the format is wrong. The values looks like

    [
    425

    and i just need 425. Is there a way in IG to edit the values to only include the number?

    Thanks,
    Reece Price

    #26103
     violette
    Participant

    Hi,
    ${contexts.userProfile.rawInfo.uid} returns indeed an array. You can use ${contexts.userProfile.rawInfo.uid[0]} to access to the value.

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

You must be logged in to reply to this topic.

©2020 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?