I writing a really simple import mapping but i cant make the ca_entities.nonpreferred_labels.type_id to work.
The idea is to import entities of type individuals (ind) and set the preferred and nonpreferred labels.
This is how the import mapping looks like:
Rule type Source CA table.element Group Options
Constant ind ca_entities.type_id
Mapping 1 ca_entities.idno
Mapping 2 ca_entities.source_id
Mapping 3 ca_entities.preferred_labels.forename preferred
Mapping 4 ca_entities.preferred_labels.middlename preferred {"skipIfEmpty": 1}
Mapping 5 ca_entities.preferred_labels.surname preferred {"skipIfEmpty": 1}
Mapping 6 ca_entities.preferred_labels.displayname preferred {"skipIfEmpty": 1}
Mapping 7 ca_entities.nonpreferred_labels.displayname nonpreferred {"skipIfEmpty": 1}
Mapping 8 ca_entities.nonpreferred_labels.type_id nonpreferred {"skipIfEmpty": 1}
The nonpreferred_label.displayname works fine but the ca_entities.nonpreferred_labels.type_id is not working. I tried using the idno and the item name from the list entity_label_types with no luck.
Am i missing something?