Skip to main content

Custom attributes

A custom attribute is a field your organization adds to every identity, such as a cost center or a badge color. Once it exists, it behaves like a built-in attribute: Sync can map values into it, an administrator can edit it, and derived state rules and provisioning mappings can read it.

Custom attributes are on Directory > Directory Settings > Custom attributes. Creating, editing and deleting them needs the identity.modify permission.

Add a custom attribute​

  1. Open Directory > Directory Settings > Custom attributes and select Add attribute.

  2. Enter a Name. This is the stored key. It must start with a lowercase letter and contain only lowercase letters, digits and underscores, up to 64 characters, such as cost_center. Owlie stores it as custom.cost_center. The name can't be changed later.

  3. Enter a Label, the name people see on identity profiles, such as "Cost center".

  4. Choose a Data type:

    Data typeHolds
    TextFree text, or one of a fixed set of values when you fill in Allowed values.
    Text - Choice ListOne value from a shared choice list that you pick in Choice list.
    NumberA number.
    BooleanTrue or false.
    DateA calendar date.
    DateTimeA date and time.
    JSONA structured JSON value.
  5. For Text, optionally enter Allowed values as a comma-separated list, such as ENG, FIN, SALES. Leave it empty for unrestricted text.

  6. Select Create attribute.

A few names are reserved because Owlie uses them for its own fields, including status, type, lifecycle_state, login_email and id. Owlie rejects a reserved name or one that already exists.

The list shows each attribute's label, name, type and allowed values, or "unrestricted". The tab also shows how many custom attributes you have used. Derived attributes are stored under custom. too, so they appear in this list and count toward the same total. See Usage and limits.

A new attribute appears in the Custom section of every identity's Attributes tab. It starts editable by administrators, hidden from the end-user dashboard, and on the directory's default source priority. Change those on the Attributes tab of Directory Settings: see Attribute source priority and edit permissions.

Edit a definition​

Select Edit on an attribute. You can change:

  • The Label.
  • For a text attribute, the Allowed values, or switch between Text and Text - Choice List.

The Name is fixed. The data type is fixed too, apart from the switch between the two text forms. To change a type, create a new attribute and move your mappings to it.

Clearing Allowed values makes the attribute unrestricted text again. Changing the allowed values does not rewrite values that identities already hold. The new list applies to values written afterwards: a manual edit must use an allowed value, and Sync skips a value outside the list for that attribute while the rest of the record still syncs.

Delete a custom attribute​

Deleting an attribute removes its definition and every value stored for it on every identity, from every source. This can't be undone. If you later create an attribute with the same name, it starts empty: old values do not return.

Before you delete, check where the attribute is used. Remove it from the Sync attribute mappings, derived state rules and provisioning mappings that use it.

Select the delete icon on the attribute's row, then Delete attribute. Built-in attributes can't be deleted.

Where custom attributes are used​