none
Is is possible to set email:Importance through Exchange ActiveSync? RRS feed

  • Question

  • I get back a Change Status of 6 when I try to set Importance for an email.

     

    Here's what I send:

     

    <Sync xmlns="AirSync:">
        <Collections>
            <Collection>
                <SyncKey>1109948004</SyncKey>
                <CollectionId>10</CollectionId>
                <DeletesAsMoves>1</DeletesAsMoves>
                <Commands>
                    <Change>
                        <ServerId>10:223</ServerId>
                        <ApplicationData>
                            <email:Importance>2</email:Importance>
                        </ApplicationData>
                    </Change>
                </Commands>
            </Collection>
        </Collections>
    </Sync>
    
    
    

     


    Here's what I get back:

     

     

    <Sync>
        <Collections>
            <Collection>
                <SyncKey>1109948004</SyncKey>
                <CollectionId>10</CollectionId>
                <Status>1</Status>
                <Responses>
                    <Change>
                        <ServerId>10:223</ServerId>
                        <Status>6</Status>
                    </Change>
                </Responses>
            </Collection>
        </Collections>
    </Sync>
    
    

    Thanks!

     

    Sunday, October 9, 2011 3:58 PM

Answers

  • Hi crashwrite,

     

    [MS-ASCMD], 2.2.2.19.1 Request shows that “Importance” is not part of the schema for ApplicationData “Email” namespace.  Therefore, “email:Importance” can’t be changed via activesync, but “tasks:Importance” can be changed:

     

    <xs:element minOccurs="0" name="Commands">

                           <xs:element minOccurs="0" maxOccurs="unbounded" name="Change">

                           <xs:element name="ServerId">

                           <xs:element name="ApplicationData">

                           <xs:choice maxOccurs="unbounded">

                                            <xs:element ref="email:Flag"/>

                                            <xs:element ref="email:Read"/>

                                            <xs:element ref="email:Categories"/>

    ...

                                            <xs:element ref="tasks:Complete"/>

                                            <xs:element ref="tasks:Subject"/>

                                            <xs:element ref="tasks:Categories"/>

                                            <xs:element ref="tasks:DateCompleted"/>

                                            <xs:element ref="tasks:DueDate"/>

                                            <xs:element ref="tasks:UtcDueDate"/>

                                            <xs:element ref="tasks:Importance"/>

    ...

     

    I hope this answers your question.

    Regards,
    Mark Miller
    Escalation Engineer
    US-CSS DSC PROTOCOL TEAM

    Monday, October 24, 2011 7:09 PM

All replies

  • Hi, Crashwrite,

     

    Thank you for your question.  An engineer from the protocols team will respond soon.

     


    Bryan S. Burgin Senior Escalation Engineer Microsoft Protocol Open Specifications Team
    Sunday, October 9, 2011 11:33 PM
    Moderator
  • Hi crashwrite,

    I'm investigating this and will follow up soon with an answer.

    Regards,
    Mark Miller
    Escalation Engineer
    US-CSS DSC PROTOCOL TEAM

    Wednesday, October 19, 2011 3:32 PM
  • Hi crashwrite,

     

    [MS-ASCMD], 2.2.2.19.1 Request shows that “Importance” is not part of the schema for ApplicationData “Email” namespace.  Therefore, “email:Importance” can’t be changed via activesync, but “tasks:Importance” can be changed:

     

    <xs:element minOccurs="0" name="Commands">

                           <xs:element minOccurs="0" maxOccurs="unbounded" name="Change">

                           <xs:element name="ServerId">

                           <xs:element name="ApplicationData">

                           <xs:choice maxOccurs="unbounded">

                                            <xs:element ref="email:Flag"/>

                                            <xs:element ref="email:Read"/>

                                            <xs:element ref="email:Categories"/>

    ...

                                            <xs:element ref="tasks:Complete"/>

                                            <xs:element ref="tasks:Subject"/>

                                            <xs:element ref="tasks:Categories"/>

                                            <xs:element ref="tasks:DateCompleted"/>

                                            <xs:element ref="tasks:DueDate"/>

                                            <xs:element ref="tasks:UtcDueDate"/>

                                            <xs:element ref="tasks:Importance"/>

    ...

     

    I hope this answers your question.

    Regards,
    Mark Miller
    Escalation Engineer
    US-CSS DSC PROTOCOL TEAM

    Monday, October 24, 2011 7:09 PM
  • Hi Crushwrite:

    Maybe you could try to write "improtance" into Email Header but xml messages.

    And sometimes it's not available for set "importance" into integer like [1,2,3], you could try to write  "high" or "low" into Email header.

    Hope it helps.

     

    Monday, October 31, 2011 2:01 AM