How to index a new record type in CloudKit Dashboard
In order to fix indexing new record types, we have to do a few steps. First, start by tapping Data at the top of the window:
From the dropdown, select Schema:
Then, click on Record Types:
Next, select Shoe under Custom Record Types:
Then, click on Add Index:
Make sure Index Type is set to QUERYABLE, and then tap the Save Changes button:
Now, we need to go back and do a query again. At the top of the screen, select Schema:
Then, select Data:
Now, hit Query again. Double-check and make sure you have Database set to Public Database and Type as Shoe: