Is it possible to reference an array of values from another object?

We're setting up a blog with categories. Is the following possible?

  • The content admin can create an array of strings, representing blog categories
  • When they create a blog post and are choosing the category for that post, they are provided a dropdown (single or multi-select) pre-populated with the values previously mentioned.

Thanks

Hi Brett,

Welcome to the Prismic community.

If I understood correctly, one way to make categories for posts would be to create a Custom type category and reference it from a content relationship in the Article/post custom type with a restriction to the Category custom type you have created, such as

Please let me know if you have any further inquiry,
Fares

This thread has been closed due to inactivity. Flag to reopen.