Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating contacts with multiple email/physical addresses #103

Open
rehtlaw opened this issue Nov 6, 2018 · 0 comments
Open

creating contacts with multiple email/physical addresses #103

rehtlaw opened this issue Nov 6, 2018 · 0 comments

Comments

@rehtlaw
Copy link

rehtlaw commented Nov 6, 2018

Hello,

I'm trying to create contacts via node-ews. I'd like for them to have both multiple email addresses as well as multiple physical addresses. I've tried what was shown #47, but

        'PhysicalAdresses': {
          'Entry': [
            {
              'Key': 'Home',
              '$value': passedAddressObj1
            },
            {
              'Key': 'Business',
              '$value': passedAddressObj2
            }
          ],
        },

in the request doesn't seem to work. I have also yet to find an Array equivalent to PhysicalAddresses.

Anyone got a solution for this?
Thanks in advance :)

EDIT:

        'PhysicalAdresses': [
          {
            'Entry': {
              'Key': 'Home',
              '$value': passedAddressObj1
            }
          },
          {
            'Entry': {
              'Key': 'Business',
              '$value': passedAddressObj2
            }
          },
        ],

also doesn't work, which at least partially workes for the email addresses (it just adds the latest email in the array, but at least it adds one :D)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant