SOLVED
Home

Is this Outlook add-in possible?

%3CLINGO-SUB%20id%3D%22lingo-sub-185686%22%20slang%3D%22en-US%22%3EIs%20this%20Outlook%20add-in%20possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-185686%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20completely%20new%20to%26nbsp%3BOffice%20add-in%20development%2C%20and%20want%20to%20now%20if%20what%20I%20propose%20to%20develop%20is%20even%20possible.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20effectively%20replace%20message%20compose%20and%20send.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat%20is%20to%20say%2C%20there%20will%20be%20a%20button%20which%2C%20when%20clicked%2C%20will%20display%20an%20HTML%20form%2C%20which%20will%20accept%20user%20input.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20the%20for%20is%20submitted%2C%20it%20will%20communicate%20the%20user%20input%20to%20my%20server%20by%20an%20AJAX%20call.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThat's%20it%3B%20no%20email%20is%20sent.%20I%20realize%20this%20somewhat%20mis-purposes%20Outlook.%20Is%20it%20even%20possible%20(and%20do%20you%20have%20any%20hints%20as%20to%20how%20to%20achieve%20it)%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%20for%20any%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-187290%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20this%20Outlook%20add-in%20possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-187290%22%20slang%3D%22en-US%22%3ENot%20aware%20of%20any%20books.%20I%20mostly%20used%20the%20Microsoft%20Docs%20but%20they%20are%20thin%20in%20places%20around%20the%20different%20options%20in%20the%20manifest%20so%20trial%20and%20error%20was%20my%20best%20friend.%3CBR%20%2F%3E%3CBR%20%2F%3EOf%20the%20Docs%2C%20the%20most%20useful%20was%20how%20to%20debug%20in%20the%20client%20app.%20It%20is%20frustrating%20as%20it%20restarts%20everytime%20but%20was%20only%20way%20to%20see%20why%20it%20failed%20there%20and%20not%20in%20web%20app%20-%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice%2Fdev%2Fadd-ins%2Ftesting%2Fdebug-add-ins-using-f12-developer-tools-on-windows-10%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Foffice%2Fdev%2Fadd-ins%2Ftesting%2Fdebug-add-ins-using-f12-developer-tools-on-windows-10%3C%2FA%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-186904%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20this%20Outlook%20add-in%20possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-186904%22%20slang%3D%22en-US%22%3EIf%20that%20wll%20wor%20across%20all%20platforms%2C%20then%20it%20seems%20the%20best%20approach.%20It%20is%20my%20beliefe%20that%2099%25%2B%20of%20my%20users%20will%20only%20use%20desktop%2C%20but%2C%20still%20...%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20certain%20that%20your%20presentation%20and%20github%20project%20are%20going%20to%20be%20of%20tremendous%20help.%3CBR%20%2F%3E%3CBR%20%2F%3EBtw%2C%20do%20you%20know%20if%20there%20is%20a%20good%20book%20available%20about%20developing%20Outlook%20Web%20Add-ins%3F%20I%20find%20lots%20of%20contradictory%20info%20on%20the%20web%2C%20some%20of%20it%20probably%20out%20of%20date%20%26amp%3B%20am%20looking%20for%20a%20canonical%20referecne%20source.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-186599%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20this%20Outlook%20add-in%20possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-186599%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20it%20only%20allows%20access%20to%20the%20pane%20but%20that%20will%20work%20across%20the%20web%20app%2C%20desktop%20and%20Outlook%20on%20the%20phone.%20I%20did%20a%20little%20on%20this%20in%20a%20presentation%20at%20the%20Collab365%20Global%20Conference%20which%20I%20linked%20to%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwww.mcd79.com%2Fpresentation-available-for-using-cognitive-services-to-build-an-intelligent-office-add-in%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.mcd79.com%2Fpresentation-available-for-using-cognitive-services-to-build-an-intelligent-office-add-in%2F%3C%2FA%3Eand%20should%20have%20details%20on%26nbsp%3Bmy%20github%20project%20from%20it%20at%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fkevmcdonk%2FYouveGotSentiment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fkevmcdonk%2FYouveGotSentiment%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-186403%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20this%20Outlook%20add-in%20possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-186403%22%20slang%3D%22en-US%22%3EWell%2C%20I%20finally%20found%20how%20to%20add%20a%20button%20to%20the%20%22Compose%22%20window%2C%20but%20not%20yet%20to%20the%20main%20bar.%3CBR%20%2F%3E%3CBR%20%2F%3EWhen%20clicked%2C%20it%20opens%20a%20...%20%22pane%22%20(is%20that%20correct%22%3F)%2C%20where%20I%20guess%20that%20I%20will%20be%20able%20to%20display%20my%20form%20%26amp%3B%20get%20input.%20I%20would%20have%20preferred%20to%20totally%20replace%20the%20Compose%20window%20with%20my%20form%2C%20but%20it%20doesn't%20look%20possible(%3F).%3CBR%20%2F%3E%3CBR%20%2F%3ERight%20now%2C%20I%20am%20trying%20to%20discover%20how%20to%20debug%20my%20JS.%20Thanks%20for%20your%20feedback%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-186137%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20this%20Outlook%20add-in%20possible%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-186137%22%20slang%3D%22en-US%22%3E%3CP%3EYou%20can%20add%20alternative%20buttons%20in%20the%20ribbon%20bar%20with%20your%20own%20reply%20functionality%20but%20you%20won't%20be%20able%20to%20replace%20the%20existing%20buttons.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Graham Keellings
Contributor

I am completely new to Office add-in development, and want to now if what I propose to develop is even possible.

 

I want to effectively replace message compose and send.

 

That is to say, there will be a button which, when clicked, will display an HTML form, which will accept user input.

 

When the for is submitted, it will communicate the user input to my server by an AJAX call.

 

That's it; no email is sent. I realize this somewhat mis-purposes Outlook. Is it even possible (and do you have any hints as to how to achieve it)?

 

Thanks in advance for any help.

5 Replies

You can add alternative buttons in the ribbon bar with your own reply functionality but you won't be able to replace the existing buttons.

Well, I finally found how to add a button to the "Compose" window, but not yet to the main bar.

When clicked, it opens a ... "pane" (is that correct"?), where I guess that I will be able to display my form & get input. I would have preferred to totally replace the Compose window with my form, but it doesn't look possible(?).

Right now, I am trying to discover how to debug my JS. Thanks for your feedback
Solution

Yes, it only allows access to the pane but that will work across the web app, desktop and Outlook on the phone. I did a little on this in a presentation at the Collab365 Global Conference which I linked to at https://www.mcd79.com/presentation-available-for-using-cognitive-services-to-build-an-intelligent-of... and should have details on my github project from it at https://github.com/kevmcdonk/YouveGotSentiment.

Highlighted
If that wll wor across all platforms, then it seems the best approach. It is my beliefe that 99%+ of my users will only use desktop, but, still ...

I am certain that your presentation and github project are going to be of tremendous help.

Btw, do you know if there is a good book available about developing Outlook Web Add-ins? I find lots of contradictory info on the web, some of it probably out of date & am looking for a canonical referecne source.

Not aware of any books. I mostly used the Microsoft Docs but they are thin in places around the different options in the manifest so trial and error was my best friend.

Of the Docs, the most useful was how to debug in the client app. It is frustrating as it restarts everytime but was only way to see why it failed there and not in web app - https://docs.microsoft.com/en-us/office/dev/add-ins/testing/debug-add-ins-using-f12-developer-tools-...
Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies