I have some data in json format that can correspond to collection structure, can I import a collection file to cockpit?
I see that there is import button in assets and in modules/Collections/cli folder there are some import export scripts, but anyone know how to use them?
I think no-one answered to me because to answer was so obvious and I found it later.
you can find Import/export in menu that you can see when you hover over collection:
import it self let you even import relations to other collections (you can filter fields), which is very cool and let you quickly get your data in place.
But for some reason if you export data and then reimport it with cockpit it cannot make the connectionLink correctly
try pressing Control+Shift+J in order to open the chrome developer console (guessing you are using chrome). Check if there are any console errors when you are trying to import data