diff --git a/configurations/sharepoint-woo/mappings/sharepoint-woo-verzoek-to-publications.json b/configurations/sharepoint-woo/mappings/sharepoint-woo-verzoek-to-publications.json index 914adb38..75e5e38f 100644 --- a/configurations/sharepoint-woo/mappings/sharepoint-woo-verzoek-to-publications.json +++ b/configurations/sharepoint-woo/mappings/sharepoint-woo-verzoek-to-publications.json @@ -10,7 +10,8 @@ "published": "{% if d['woo_x005f_publicatiedatum']|default %}{{ d['woo_x005f_publicatiedatum']|date('Y-m-d') }}{% endif %}", "modified": "d.vti_x005f_nexttolasttimemodified", "attachments": "{{ '[' }}{% if fileUrls['d']['results']|default %}{% set index = 0 %}{% for file in fileUrls['d']['results'] %}{% if index > 0 %}{{ ', ' }}{% endif %}{{ '{' }}{% set uri = file['__metadata']['uri']~'/$value' %}{{ '\"downloadUrl\": \"'~uri~'\",\"source\": \"1\"' }}{{ '}' }}{% endfor %}{% endif %}{{ ']' }}", - "status": "{% if d['woo_x005f_publicatiedatum']|default %}Published{% else %}Concept{% endif %}" + "status": "{% if d['woo_x005f_publicatiedatum']|default %}Published{% else %}Concept{% endif %}", + "catalog": "" }, "unset": [], "cast": { diff --git a/configurations/sharepoint-woo/mappings/xxllnc-suite-to-publications.json b/configurations/sharepoint-woo/mappings/xxllnc-suite-to-publications.json index 206c15cc..54ef5361 100644 --- a/configurations/sharepoint-woo/mappings/xxllnc-suite-to-publications.json +++ b/configurations/sharepoint-woo/mappings/xxllnc-suite-to-publications.json @@ -9,7 +9,8 @@ "description": "zaaktypeomschrijving", "published" : "{% if startdatum|default %}{{ startdatum|date('Y-m-d') }}{% endif %}", "modified" : "{{ 'now'|date(H:i:sTm-d-Y') }}", - "status": "{% if startdatum|default %}Published{% else %}Concept{% endif %}" + "status": "{% if startdatum|default %}Published{% else %}Concept{% endif %}", + "catalog": "" }, "unset": [], "cast": {