Exchange 2010 EWS - Adding info to User Field 1 RRS feed

  • Question

  • I want to add a users Blackberry PIN number in "User Field 1." How would I do that in the xml code below?


    <soap:Envelope xmlns:soap="" 
    <t:RequestServerVersion Version="Exchange2010"/> 
     <CreateItem xmlns="" > 
     <t:DistinguishedFolderId Id="contacts"/> 
      <t:CompanyName>Blue Yonder Airlines</t:CompanyName> 
      <t:Entry Key="EmailAddress1"></t:Entry> 
      <t:Entry Key="Business"> 
      <t:Street>1234 56th Ave</t:Street> 
      <t:City>La Habra</t:City> 
      <t:Entry Key="BusinessPhone">4255550199</t:Entry> 


    Monday, August 8, 2011 1:45 PM

All replies

  • If your trying to use the Extension Attributes eg these aren't accessible using EWS you need to use either the Exchange Management Shell, LDAP (system.directoryservices) or Mapi (OOM, Extended Mapi). Otherwise you could create your own custom Mapi property and store that in the mailbox (eg maybe write it to the NON_IPM_Subtree). Depends what you need to use it for ?


    Tuesday, August 9, 2011 5:25 AM
  • I was able to add a value to user field 2 using the xml below.

                      <t:ExtendedFieldURI PropertySetId="00062004-0000-0000-c000-000000000046" PropertyId="32848" PropertyType="String" />
                      <t:Value>my value</t:Value>
                <t:ExtendedFieldURI PropertySetId="00062004-0000-0000-c000-000000000046" PropertyId="32805" PropertyType="Boolean" />

    Thursday, September 1, 2011 3:58 PM
  • Your refering to these properties which you would only be able to set/get on contacts that where saved in Mapi/Exchange Contacts folder this wont work for GAL\Directory contacts which are readonly in this context.


    Friday, September 2, 2011 2:57 AM