CloudKit Console: Field 'recordName' is not marked queryable

[Newbie Question]. I am not sure how to find the index (that should be a Metadata) so that I can mark it as queryable. Does anyone have any suggestions for me?

Screenshots of my error and the Metadata available.

Thanks in advance!

Add a Comment

Accepted Reply

From your second screenshot:

Edit Indexes...

Add index...

Choose the field you want to query by (e.g. recordID)

Index type: Queryable

Add a Comment

Replies

From your second screenshot:

Edit Indexes...

Add index...

Choose the field you want to query by (e.g. recordID)

Index type: Queryable

Add a Comment

thank you!!!