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!

...

Accepted Answer

From your second screenshot:

Edit Indexes...

Add index...

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

Index type: Queryable

thank you!!!

CloudKit Console: Field 'recordName' is not marked queryable
 
 
Q