104 lines
2.2 KiB
YAML
104 lines
2.2 KiB
YAML
|
uuid: fcae341e-1c7d-4a25-8cd5-dfc78d13a941
|
||
|
langcode: en
|
||
|
status: true
|
||
|
dependencies:
|
||
|
config:
|
||
|
- field.field.oc_case.training.field_date_of_training
|
||
|
- field.field.oc_case.training.field_number_of_participants
|
||
|
- field.field.oc_case.training.field_training_type
|
||
|
- opencase_cases.oc_case_type.training
|
||
|
module:
|
||
|
- opencase_cases
|
||
|
id: csv_training_entities
|
||
|
label: 'CSV Training entities'
|
||
|
description: ''
|
||
|
help: ''
|
||
|
import_period: 0
|
||
|
fetcher: upload
|
||
|
fetcher_configuration:
|
||
|
allowed_extensions: 'txt csv tsv xml opml'
|
||
|
directory: 'private://feeds'
|
||
|
parser: csv
|
||
|
parser_configuration:
|
||
|
delimiter: ','
|
||
|
no_headers: false
|
||
|
line_limit: 100
|
||
|
processor: 'entity:oc_case'
|
||
|
processor_configuration:
|
||
|
langcode: en
|
||
|
update_existing: 0
|
||
|
update_non_existent: _delete
|
||
|
expire: -1
|
||
|
owner_feed_author: false
|
||
|
owner_id: 0
|
||
|
authorize: true
|
||
|
skip_hash_check: false
|
||
|
values:
|
||
|
type: training
|
||
|
custom_sources:
|
||
|
client:
|
||
|
label: CLIENT
|
||
|
value: CLIENT
|
||
|
machine_name: client
|
||
|
training_name:
|
||
|
label: 'TRAINING NAME'
|
||
|
value: 'TRAINING NAME'
|
||
|
machine_name: training_name
|
||
|
training_type:
|
||
|
label: 'TRAINING TYPE'
|
||
|
value: 'TRAINING TYPE'
|
||
|
machine_name: training_type
|
||
|
date_of_training:
|
||
|
label: 'DATE OF TRAINING'
|
||
|
value: 'DATE OF TRAINING'
|
||
|
machine_name: date_of_training
|
||
|
number_of_participants:
|
||
|
label: 'NUMBER OF PARTICIPANTS'
|
||
|
value: 'NUMBER OF PARTICIPANTS'
|
||
|
machine_name: number_of_participants
|
||
|
notes:
|
||
|
label: NOTES
|
||
|
value: NOTES
|
||
|
machine_name: notes
|
||
|
mappings:
|
||
|
-
|
||
|
target: client
|
||
|
map:
|
||
|
target_id: client
|
||
|
settings:
|
||
|
language: null
|
||
|
reference_by: name
|
||
|
autocreate: false
|
||
|
feeds_item: false
|
||
|
-
|
||
|
target: name
|
||
|
map:
|
||
|
value: training_name
|
||
|
unique: { }
|
||
|
settings: { }
|
||
|
-
|
||
|
target: field_training_type
|
||
|
map:
|
||
|
value: training_type
|
||
|
settings:
|
||
|
language: null
|
||
|
-
|
||
|
target: field_date_of_training
|
||
|
map:
|
||
|
value: date_of_training
|
||
|
settings:
|
||
|
language: null
|
||
|
timezone: UTC
|
||
|
-
|
||
|
target: field_number_of_participants
|
||
|
map:
|
||
|
value: number_of_participants
|
||
|
unique: { }
|
||
|
settings:
|
||
|
language: null
|
||
|
-
|
||
|
target: notes
|
||
|
map:
|
||
|
value: notes
|
||
|
settings: { }
|