Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
{{urlv2}}/latest/appcustomer/servicedmcore/coreidentity/fieldsfieldnames?max_depth=1

This will return your a list of available elements. Find yours and note down the appropriate system_name (line 10) of your element.

Code Block
{[
    "display_name_parts": [
        {
            "value": "E-Mail (HR)",
       ci_birthdate",
    "kind": "PlainValue"
        }
    ]ci_city",
    "ci_display_name": "E-Mail (HR)",
    "typeci_employee_namenumber": "Email",
    "systemci_family_name": "ext_e_mail_hr",
    "typeci_full_name": "System.String, mscorlib",
gender",
   "category": "Module.DM.IdentityManagement.PersonalData",
    "is_collection": false,
    "depth_level": 0ext_e_mail_hr",
    "kind": "AttributeValue",
    "updateable": true
}...
]

Step 3 - Define the default columns to show

Add the following section to configuration file to define the columns you would like. Simply add all system_names of your desire:

Code Block
languagejson
{
  "Id": "CoreIdentityDataTable"
  {,
    "DefaultColumns": ["readonly_display_name", "readonly_email", "core_identity_type.name", "valid_from", "valid_to", "ext_e_mail_hr"]
  }
}

Step 4 - Exclude any columns you might not want to show

If you would like to exclude certain columns and make sure users can not select them, you can also configure that by adding another section (Line 5):

Code Block
languagejson
{
  "Id": "CoreIdentityDataTable"
  {
 ,
  "DefaultColumns": ["readonly_display_name", "readonly_email", "core_identity_type.name", "valid_from", "valid_to", "ext_e_mail_hr"],
 
  "ExcludedColumnsToShow": [ "ext_e_private_banking_number" ]

 }
}
Info

Note: You can also exclude whole relations with .**. So for example core_identity_employments.**" excluded all columns in relation to employments including sub relations.

A complete JSON File could look something like that:

Expand
titleAdminUI_Customer_DataTableConfiguration.json
Code Block
languagejson
[
    {
        "Id": "RoleAssignmentDataTable"
    },
    {
        "DefaultColumns": [
            "readonly_display_name",
            "core_identity_type.name",
            "valid_from",
            "valid_to",
            "ci_birthdate",
            "ci_city"
        ],
        "ExcludedColumnsToShow": [
            "readonly_email"
        ],
        "Id": "CoreIdentityDataTable"
    },
    {
        "Id": "IdentityDataTable"
    },
    {
        "Id": "LoginHistoryDataTable"
    },
    {
        "Id": "AssetAssignmentDataTable"
    },
    {
        "Id": "ResourceAssignmentDataTable"
    },
    {
        "Id": "MyCoWorkersDataTable"
    }
]