Closed ng-marcus closed 7 years ago
That is actually part of the node-soap object to XML engine and to achieve what you're wanting you'll need to pass FieldURI as an array. So try this:
'AdditionalProperties': { 'FieldURI': [{ 'attributes': { 'FieldURI': 'item:Subject'}},{ 'attributes': { 'FieldURI': 'calendar:Start'}},{ 'attributes': { 'FieldURI': 'calendar:End'}}] },
@ng-marcus - Can you confirm if that fixed your issue?
Had same issue.. this worked for me:
'AdditionalProperties':{ "FieldURI": [ {"FieldURI": "item:Subject"}, {"FieldURI": "calendar:Start"}, {"FieldURI": "calendar:End"} ] }
This would be a great addition to the README.md...was thankful be able to search for this in the issues.
Where the schema defines multiple entries with the same name, only the last one is used, for example FindItem includes `
but if I code this as
'AdditionalProperties': { 'FieldURI': { 'attributes': { 'FieldURI': 'item:Subject', }, }, 'FieldURI': { 'attributes': { 'FieldURI': 'calendar:Start', } }, 'FieldURI': { 'attributes': { 'FieldURI': 'calendar:End', } } },
only the calendar:End attribute is returned in the reply.