jan-vince / smallrecords

OctoberCMS plugin to store and manage records and lists
MIT License
30 stars 11 forks source link

Import from CSV #61

Open tombien opened 4 years ago

tombien commented 4 years ago

Hello, sorry, but how Import works? The button is in Areas. So I click on import, choose file, make some setup. Click on Import button, theres is a message (...35 items imported...). This is OK.

But after this, I can not find where are the items imported. I think there is missing step to choose particular Area? I also try to check the Area in the table, but with same result. Items were imported, I can find them in database table with area_id = 0.

So, did I something wrong or there is a bug? Thanks.

jan-vince commented 4 years ago

Hi @tombien,

I know this is not very well documented.

When you import your data, one of the columns (named List in Import records page) should contain ID of Area.

I don't remember know why this field is not required as without it all records are imported without connection to any Area.

So when you add column List to your import file and it has an Area ID, this should work.

Area ID can be shown by in List setup:

sr-area-id