Exchange Server TechCenter > Exchange Server Forums > Development > EWS read 0x7C080102 value in a IPM.Configuration.WorkHours message
Ask a questionAsk a question
 

QuestionEWS read 0x7C080102 value in a IPM.Configuration.WorkHours message

  • Wednesday, October 21, 2009 7:45 AMGObL Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I try to get the Timezone of a user with the new Exchange 2010 EWS. I search for the IPM.Configuration.WorkHours message and then I try to read the value of the 0x7C080102 property with the ExtendedFieldURI item.
    I can allways open the message and get a result, but I don't get the 0x7C080102 property.

    Do you know how to read the 0x7C080102 property?

    Thank you

    <?xml version="1.0" encoding="utf-8" ?>
    - <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
    - <soap:Header>
      <t:RequestServerVersion Version="Exchange2010" />
    - <t:ExchangeImpersonation>
    - <t:ConnectingSID>
      <t:PrimarySmtpAddress>test@test.z</t:PrimarySmtpAddress>
      </t:ConnectingSID>
      </t:ExchangeImpersonation>
      </soap:Header>
    - <soap:Body>
    - <GetItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
    - <ItemShape>
      <t:BaseShape>IdOnly</t:BaseShape>
      <t:BodyType>Text</t:BodyType>
    - <t:AdditionalProperties>
      <t:FieldURI FieldURI="item:Subject" />
      <t:ExtendedFieldURI PropertySetId="00062004-0000-0000-C000-000000000046" PropertyId="2080899330" PropertyType="Binary" />
      </t:AdditionalProperties>
      </ItemShape>
    - <ItemIds>
      <t:ItemId Id="AQMkADAyZjRmYTY4LTBlZmYALTRkODItOTc4Zi00M2M3NwBkOGI1NGUxAEYAAAMIXA7cAGmbQZAeEGUgAL4rBwBHZoevPdXNT4UllqvOEu/QAAADHQAAAEdmh6891c1PhSWWq84S79AAAAJZ6QAAAA==" ChangeKey="CQAAABYAAABHZoevPdXNT4UllqvOEu/QAAAAAFvp" />
      </ItemIds>
      </GetItem>
      </soap:Body>
      </soap:Envelope>


     

All Replies

  • Wednesday, October 21, 2009 9:00 AMGObL Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I played arround and I think the solution is to take only the first part of the 0x7C080102 property:

    <t:ExtendedFieldURI PropertyTag='0x7C08' PropertyType='Binary' />