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
-
Open Directory > Directory Settings > Custom attributes and select Add attribute.
-
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 ascustom.cost_center. The name can't be changed later. -
Enter a Label, the name people see on identity profiles, such as "Cost center".
-
Choose a Data type:
Data type Holds Text Free text, or one of a fixed set of values when you fill in Allowed values. Text - Choice List One value from a shared choice list that you pick in Choice list. Number A number. Boolean True or false. Date A calendar date. DateTime A date and time. JSON A structured JSON value. -
For Text, optionally enter Allowed values as a comma-separated list, such as
ENG, FIN, SALES. Leave it empty for unrestricted text. -
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
- Filling values. Map a source field to the attribute in a sync job, or edit it on an identity's Attributes tab. See Attribute mappings with OXL and Identity attributes and choice lists.
- Choosing the winning source and who can edit. See Attribute source priority and edit permissions.
- Sending values to applications. See Attribute mappings and continuous updates.
- Computing a value from other attributes. That is a derived attribute, which you create on a different tab. See Derived state rules.