Previous Topic: Map a Last Name Attribute with an Alias Mapping Type

Next Topic: Map Customers with Group and Constant Mapping Types


Map a Sort Name Attribute with Expression and Alias Mapping Types

Use an expression attribute mapping and an alias attribute mapping to represent the sort name of a user in Directory A and Directory B.

Deployment

Solution

  1. Create an expression attribute mapping for Directory A:
    Name

    SortName

    Mapping Type

    Expression

    Definition
    (surname + "," + givenname)
    

    Note: The expression must conform to the syntax rules of an expression.

  2. Create an alias attribute mapping for Directory B:
    Name

    SortName

    Mapping Type

    Alias

    Definition

    sort_name

When referencing users in Directory A, the sort name is calculated based on the specified expression. When referencing users in Directory B, the sort name is represented by the attribute sort_name.