by

OWA Voting Buttons Compose App for Workplace365/Trade 2016

OWA Voting Buttons Compose App for Workplace365/Trade 2016 OWA or Outlook on the Internet have by no means fairly had the function parity with the desktop model of Outlook which could be a level of frustration for these primarily utilizing it. Though attention-grabbing in Workplace365 new options like litter, sweep and so forth at the moment are lighting up within the OWA first earlier than they make their manner into new desktop releases. One of many issues you have not been in a position to do beforehand with OWA is create an Electronic mail with voting buttons. With compose apps and among the latest adjustments in model 1.three of the API which I posted about right here, you now have the flexibility so as to add a few of this performance again in. Truly with a little bit creativeness you even have the flexibility to really construct one thing lots higher then the voting buttons function which have been round in Trade for a while. However on this publish I wish to present how one can create a Compose Mail App that makes use of EWS to make adjustments to the draft message to allow the function.

One factor additionally to notice is that creating an Electronic mail with Voting buttons is not supported additionally in EWS  so I am utilizing a workaround of producing the PidLidVerbStream property worth utilizing the documentation from https://msdn.microsoft.com/en-us/library/ee218541(v=exchg.80).aspx . The one subject you possibly can have is that if you do not get the worth of this property right this could trigger Outlook to crash (which suggests you then must delete the offending merchandise with mfcMapi). So this Mail App could be unsupported, experimental and largely untested.

Here is a screenshot of what the Apps seems like in Motion

After you choose the Voting possibility you need it’s essential hit the Save button which can invoke the actions to switch the draft message.

I’ve put the code for this MailApp up on my GitHub repo https://github.com/gscales/MailApps/tree/grasp/OWAVoting  if you happen to resolve to check it and discover any bugs please submit them again. As I discussed earlier than you must contemplate this experimental solely. All of the code is included within the script.js file and makes use of the workaround I described right here as this was solely a check app I have not put any error processing within the Aysnc callbacks.