Versions Compared

Key

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

...

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"
    }
]