This article demonstrates how to create a dropdown style for custom attributes within Okta.
- Custom Attributes
- Universal Directory
- Lifecycle Management
Depending on the use case, Admins might be looking for a method to assign an attribute to users that is limited to only a particular set of values and is quicker than typing, such as a dropdown menu or an enumerated list. To do this, follow these steps or the video below:
- On the Okta Admin Console, navigate to Directory > Profile Editor.
- Click the Profile button next to Okta, which is always the first item on the list.
- Click the Add Attribute button.
- Choose the Data type, Display name, and Variable name.
- Tick the box next to Define enumerated list of values.
- In the Attribute members field that just appeared, define dropdown items. The Display name (this will be the value displayed in the dropdown menu) and Value (if planning on using API to define this for the users, this is the value that would be defined in the calls).
Here is a view of the completed attribute:
If Admins tick the Attribute required box, the attribute will appear on each new Okta-mastered user's profile at the time of creation.
