none
Problem in follow up for email in exchange2010 RRS feed

  • Question

  • Hi,

      We have also to support exchange 2010 for flagging. Was able to support flagging for exchange2013 with answer from this link

    http://social.msdn.microsoft.com/Forums/office/en-US/0b3faf0d-4457-405d-bc71-0594575885c8/action?threadDisplayName=facing-problem-in-setting-follow-up-for-email

    Apart from links above i had been looking into this link

    http://social.technet.microsoft.com/Forums/en-US/f949a75d-070b-455e-82b6-01f1674de111/ews-adding-due-date-to-flagged-message?forum=exchangesvrdevelopment

    and sending this request XML for exchange2010 

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
           <soap:Header>
                  <t:RequestServerVersion Version="Exchange2010_SP1"></t:RequestServerVersion>
              </soap:Header>
           <soap:Body>
                  <UpdateItem ConflictResolution="AutoResolve" MessageDisposition="SaveOnly">
                         <ItemChanges>
                                <t:ItemChange>
                                       <t:ItemId Id="AAMkADU4YWJjNjhkLTE4OWYtNGJmNy1iOTIzLTRlNGVjNDFmYTBhNABGAAAAAAA+3eJWXGVyTLYpBc0G1f+2BwCWtgWpIkfLQ4VqkhNzipUqAAAAP4L0AACWtgWpIkfLQ4VqkhNzipUqAAAASbfZAAA=" ChangeKey="CQAAABYAAACWtgWpIkfLQ4VqkhNzipUqAAAATyTc"></t:ItemId>
                                       <t:Updates>
                                              <t:SetItemField>
                                                     <t:Message>
                                                            <t:ReminderIsSet>false</t:ReminderIsSet>
                                                            <t:ReminderMinutesBeforeStart>0</t:ReminderMinutesBeforeStart>
                                                            <t:ExtendedProperty>
                                                                   <ExtendedFieldURI PropertyTag="0x1090" PropertyName="FlagStatus" PropertyId="0" PropertyType="Integer"></ExtendedFieldURI>
                                                                   <Values></Values>
                                                               </t:ExtendedProperty>
                                                            <t:IsRead>false</t:IsRead>
                                                        </t:Message>
                                                 </t:SetItemField>
                                          </t:Updates>
                                   </t:ItemChange>
                            </ItemChanges>
                     </UpdateItem>
              </soap:Body>
       </soap:Envelope>

    But facing some issues with which is surely incorrect. Can someone let me know what should be a proper request xml format for flag status in exchange2010. And also fi possible some other related links which could be helpful in understanding the xml format to be send.

    Thanks,

     Madhur Rawat


    Tuesday, October 7, 2014 4:35 AM

All replies

  • PS: I had already asked this question in http://social.msdn.microsoft.com/Forums/en-US/exchangesvrdevelopment/thread/0b3faf0d-4457-405d-bc71-0594575885c8/#f9ddeb3a-1d34-4ccc-91b7-aedf2f43799c but since i have marked that question as answered i suspect it would not be noticed soon. Hence i have created a new question specific to exchange2010.

    Thanks,

     Madhur Rawat

    Tuesday, October 7, 2014 4:40 AM
  • You'll need to set those properties I pointed to in the Protocol document http://msdn.microsoft.com/en-us/library/ee201994(v=exchg.80).aspx so something like

        <soap:Body>
          <m:UpdateItem MessageDisposition="SaveOnly" ConflictResolution="AlwaysOverwrite">
            <m:ItemChanges>
              <t:ItemChange>
                <t:ItemId Id="AAMk=" ChangeKey="CQAAABYAAAB8PtJwmH78TaGH6N/gd2ToAACzxPm0" />
                <t:Updates>
                  <t:SetItemField>
                    <t:ExtendedFieldURI DistinguishedPropertySetId="Common" PropertyId="34096" PropertyType="String" />
                    <t:Message>
                      <t:ExtendedProperty>
                        <t:ExtendedFieldURI DistinguishedPropertySetId="Common" PropertyId="34096" PropertyType="String" />
                        <t:Value>Follow up</t:Value>
                      </t:ExtendedProperty>
                    </t:Message>
                  </t:SetItemField>
                  <t:SetItemField>
                    <t:ExtendedFieldURI PropertyTag="4245" PropertyType="Integer" />
    
                    <t:Message>
                      <t:ExtendedProperty>
                        <t:ExtendedFieldURI PropertyTag="4245" PropertyType="Integer" />
                        <t:Value>6</t:Value>
                      </t:ExtendedProperty>
                    </t:Message>
                  </t:SetItemField>
                  <t:SetItemField>
                    <t:ExtendedFieldURI PropertyTag="4240" PropertyType="Integer" />
    
                    <t:Message>
                      <t:ExtendedProperty>
                        <t:ExtendedFieldURI PropertyTag="4240" PropertyType="Integer" />
                        <t:Value>2</t:Value>
                      </t:ExtendedProperty>
                    </t:Message>
                  </t:SetItemField>
                  <t:SetItemField>
                    <t:ExtendedFieldURI PropertyTag="3627" PropertyType="Integer" />
    
                    <t:Message>
                      <t:ExtendedProperty>
                        <t:ExtendedFieldURI PropertyTag="3627" PropertyType="Integer" />
                        <t:Value>1</t:Value>
                      </t:ExtendedProperty>
                    </t:Message>
                  </t:SetItemField>
                  <t:SetItemField>
                    <t:ExtendedFieldURI DistinguishedPropertySetId="Common" PropertyId="34208" PropertyType="SystemTime" />
                    <t:Message>
                      <t:ExtendedProperty>
                        <t:ExtendedFieldURI DistinguishedPropertySetId="Common" PropertyId="34208" PropertyType="SystemTime" />
                        <t:Value>2014-10-09T16:18:16.984+11:00</t:Value>
                      </t:ExtendedProperty>
                    </t:Message>
                  </t:SetItemField>
                  <t:SetItemField>
                    <t:ExtendedFieldURI DistinguishedPropertySetId="Task" PropertyId="33028" PropertyType="SystemTime" />
                    <t:Message>
                      <t:ExtendedProperty>
                        <t:ExtendedFieldURI DistinguishedPropertySetId="Task" PropertyId="33028" PropertyType="SystemTime" />
                        <t:Value>2014-10-08T16:18:16.984+11:00</t:Value>
                      </t:ExtendedProperty>
                    </t:Message>
                  </t:SetItemField>
                  <t:SetItemField>
                    <t:ExtendedFieldURI DistinguishedPropertySetId="Task" PropertyId="33029" PropertyType="SystemTime" />
                    <t:Message>
                      <t:ExtendedProperty>
                        <t:ExtendedFieldURI DistinguishedPropertySetId="Task" PropertyId="33029" PropertyType="SystemTime" />
                        <t:Value>2014-10-09T16:18:16.984+11:00</t:Value>
                      </t:ExtendedProperty>
                    </t:Message>
                  </t:SetItemField>
                  <t:SetItemField>
                    <t:ExtendedFieldURI DistinguishedPropertySetId="Common" PropertyId="34070" PropertyType="SystemTime" />
                    <t:Message>
                      <t:ExtendedProperty>
                        <t:ExtendedFieldURI DistinguishedPropertySetId="Common" PropertyId="34070" PropertyType="SystemTime" />
                        <t:Value>2014-10-07T13:00:00.000Z</t:Value>
                      </t:ExtendedProperty>
                    </t:Message>
                  </t:SetItemField>
                  <t:SetItemField>
                    <t:ExtendedFieldURI DistinguishedPropertySetId="Common" PropertyId="34071" PropertyType="SystemTime" />
                    <t:Message>
                      <t:ExtendedProperty>
                        <t:ExtendedFieldURI DistinguishedPropertySetId="Common" PropertyId="34071" PropertyType="SystemTime" />
                        <t:Value>2014-10-07T13:00:00.000Z</t:Value>
                      </t:ExtendedProperty>
                    </t:Message>
                  </t:SetItemField>
                </t:Updates>
              </t:ItemChange>
            </m:ItemChanges>
          </m:UpdateItem>
        </soap:Body>
    Cheers
    Glen

    Wednesday, October 8, 2014 5:23 AM