node.js - How to create a category and apply it to an email -


is possible create category in outlook programmatically?

i set hello world outlook-addin following ms's tutorials. , see how have access different properties of particular email. however, i'm stumped how work categories.

i had pass in following soap request through office.context.mailbox.makeewsrequestasync() create category called "muktader" , apply email identified item id.

<?xml version="1.0" encoding="utf-8"?> <soap:envelope xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">   <soap:header>     <t:requestserverversion version="exchange2013_sp1" />   </soap:header>   <soap:body>     <m:updateitem messagedisposition="saveonly" conflictresolution="alwaysoverwrite">       <m:itemchanges>         <t:itemchange>           <t:itemid id="aamkagvlotzjntm3lwvjnjgtngzlni04mtbklwiynjnjnweyy2vlnabgaaaaaabpsgv3hb+wqjrg4k+r7ambbwbji9ckxu/reb74aibfn0g8aaauros1aacn8cprpdsyr5rdhr69ulj0aaacokaqaaa=" changekey="cqaaabyaaacn8cprpdsyr5rdhr69ulj0aaacr0yo" />           <t:updates>             <t:setitemfield>               <t:fielduri fielduri="item:categories" />               <t:message>                 <t:categories>                   <t:string>muktader</t:string>                 </t:categories>               </t:message>             </t:setitemfield>           </t:updates>         </t:itemchange>       </m:itemchanges>     </m:updateitem>   </soap:body> </soap:envelope> 

Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -