Contentful logo

Contentful Community

Get all values of a field in all entries

Hi,
I’m trying to create a select component in my contentful app (using create-contentful-app) which will be a list of all the existing values of a field from every entry (so the client doesn’t have to type the same thing over and over again). How is this achieved? Is there something simpler than calling getEntries() and iterating through every entry?

Thanks!