I’m using attached files to test import records through CLI.
End goal is to import relational records in Corteza.
I’m able to have to records imported, but I am failing at the field mapping.
The record being imported is without the name I wanted it to have.
If someone could please point out what’s wrong with the yaml file, that would be great.
namespace: DistributedDemocracy
modules:
states:
fields:
State_Name:
kind: string
label: State Name
records:
source: aa.csv
key: id
mapping:
id: /
State_Name:
field: State_Name
id, State_Name
aa_1, pathankot
import.zip (449 Bytes)