PingOne Advanced Identity Cloud

Default attribute values in a mapping

You can use a mapping to create attributes on the target resource. The following mapping excerpt creates a phoneExtension attribute with a default value of 0047 on the target object:

{
    "target": "phoneExtension",
    "default": "0047"
},

The default property specifies a value to assign to the attribute on the target object. Before IDM determines the value of the target attribute, it evaluates any applicable conditions, followed by any transformation scripts. If the source property and the transform script yield a null value, IDM applies the default value in the create and update actions. The default value overrides the target value, if one exists.

Configure default attribute values using the IDM admin UI

  1. From the IDM console, click Native Consoles > Identity Management.

  2. From the navigation bar, click Configure > Mappings, and click the mapping to edit.

  3. Click the Properties tab.

  4. Expand the Attributes Grid node, and click the Target property to edit.

  5. In the Target Property: name window, click the Default Values tab, and add or edit the default values.

  6. Click Save.

    The default value displays in the Attributes Grid.

    Default Value displayed in the Attributes Grid

Copyright © 2010-2024 ForgeRock, all rights reserved.