3

I see how to create record types and add records one at a time in the CloudKit dashboard. I want to try adding a few hundred records for testing. Is there any way to import CSV or JSON files into dashboard?

adamek
  • 2,049
  • 3
  • 18
  • 35

2 Answers2

3

No there is not. You have to create an import mechanism in your app. (Or you could use the CloudKit api from another app/website)

Edwin Vermeer
  • 12,666
  • 2
  • 31
  • 56
1

On one hand you can only create records one at a time in the CloudKit dashboard.

On the other hand, you can import a CSV or JSON file as a CKAsset field in each record. Then your app can fetch that CKRecord and parse the CKAsset field.

adamek
  • 2,049
  • 3
  • 18
  • 35