Hi guys, how i can use console to create a custom ...
# ask-a-descoper
f
Hi guys, how i can use console to create a custom attribute single select and cut and paste a list and let the gui split ?..
āœ… 1
d
Hi, I'm Descope's AI assistant. I don't have specific documentation about a bulk paste feature for single-select custom attribute options in the Descope console. The documentation I found covers the API endpoints for creating custom attributes and mentions that custom attributes can be of type "single select" , but doesn't detail the console interface for bulk adding options. Current Options You can create custom attributes through the Management API or via the console at Users > Custom Attributes. Recommended Approach For bulk options, I'd suggest using the Management API to create your single-select attribute with all options at once:
Copy code
curl -X POST "<https://api.descope.com/v1/mgmt/user/customattribute/create>"  
  -H "Authorization: Bearer <ProjectId:ManagementKey>"  
  -H "Content-Type: application/json"  
  -d '{
    "name": "your_attribute_name",
    "type": "singleselect",
    "options": [
      {"value": "option1", "label": "Option 1"},
      {"value": "option2", "label": "Option 2"}
    ]
  }'
The documentation doesn't cover this specific console feature. I'd recommend checking the console interface directly or confirming with Descope support about bulk paste functionality for single-select options. Create a Custom Attributes | API Reference | Descope Documentation Tenants | Descope Documentation
f
i'da like to use GUI šŸ™‚ i know the api option.. but the gui was invetend to simplify the user.. ahah šŸ™‚
d
Hi, I'm Descope's AI assistant. You're absolutely right - the GUI should make this easier! Unfortunately, I don't have documentation about a bulk paste feature in the console for single-select custom attribute options. Console Location You can create custom attributes in the console at: • Users > Custom Attributes (or directly at app.descope.com/users/attributes) What to Try When creating a single-select attribute in the console, check if there's: • A bulk import option • Copy/paste functionality in the options field • An "Import from CSV" or similar feature If No Bulk Feature Exists The console might require adding options one by one currently. This would be a good feature request for the Descope team. I'd recommend reaching out to Descope support to confirm whether this bulk paste functionality exists in the console interface, or if it's on the roadmap. They'll have the most current information about console features that might not be documented yet.
c
To confirm, we currently don't have a bulk past-and-parse option in the console for this. Even on new lines it will put it as one value. Worth a feature request though!
f