Question about Custom Object Capabilities -- How to Model a Picklist/Enum | Community
Skip to main content

Question about Custom Object Capabilities -- How to Model a Picklist/Enum

  • May 19, 2022
  • 5 replies
  • 0 views

It looks like Custom Objects supports only string, integer, boolean and number types. We need to add an element to our custom object that is essentially a picklist but it seems like we cannot do this without hardcoding. I get the following error:

{"errors":[{"code":"BadRequest","status":"400","title":"Bad Request","detail":"data.schema object instance has properties which are not allowed by the schema: [\"enum\"]"}]}

How are people working around this limitation?  

5 replies

Eric27
  • June 13, 2022

Hey  @jena11,

Can you provide a copy of your request for me to take a look at? Let me know if you'd like to pull this into a ticket.

Thanks!


  • Author
  • June 13, 2022

Hey @eric27

Thanks for following up!  I did submit a ticket already and was directed to this community instead.  Unfortunately, given the lack of response I have chosen to move forward with a different product's toolset so no need for further triage.

Thanks. 


Eric27
  • June 13, 2022
Hey D2iQ,

Sorry to hear about your less than ideal experience. We're a pretty small team that covers the community so it sometimes takes us a bit to get to every post. 

Let us know if you need anything,

Eric27
  • June 13, 2022
Hey Ahmed,

That's very odd! I've been able to replicate this issue on my side. I've looped in the product team who owns custom objects to assist me with digging into this. I'll touch base as soon as we've tracked down the issue.

Thanks for your patience!

Ashwin11
  • July 28, 2022

Hey Ahmed.. Unfortunately, we don't support enum. But thank you for calling out the discrepancy in documentation. I will get that updated. But the good news is that, we are working on a newer version of custom objects, which will include all the field types that a User or an Organization supports today. And will also work seamlessly with other Zendesk products like Triggers, Tickets etc. We intend to release this new version in the first half of next year.