I am working on an Outlook mail app, which will be available to user on web only (not of outlook desktop). A file need to be uploaded from app to azure via custom control in compose form of App, meanwhile the file is uploaded to Azure user should not be able to close the mail. If they try to do so, a warning should be given to them.
Restrict user from closing outlook mail app, while some action is in progress
67 Views Asked by user3386804 At
2
There are 2 best solutions below
0
Shweta Dhawan
On
Adding to @Slava's answer, I would suggest using addAsync API for notification messages. You can add a notification of type progress indicator until your task is complete and replace it with a notification of type informational message. Click here for reference
Related Questions in MS-OFFICE
- How can I create an automatic table of contents in docx without the text being bold?
- Error: "Document_KeyUp" event not working
- Rewriting CSS in MSO conditional comment doesn't work
- Recovering Outlook olk14 /15 email files
- Copy/Paste APA-style Text References into Word as Dynamic Citations for Automatic Bibliography
- GridArea in a JSX file
- vba: log cleaning macro: how to optimize for faster execution?
- Excel autofill numbers in rows but with text also in the cell
- Unattended installation of MS Office 2007 through PowerShell without Volume License
- How to convert a text with data in series having field name on left to a table in Excel?
- Manipulate .dotm files without launch MS Word
- .ICS calendar item works in Outlook desktop client, but not OWA webmail
- Seeking Excel Advice: Identifying Unpaired Names with Matching Timestamps?
- Apache POI created Excel files with errors, until today. Why?
- Referencing UserForm public variable in vba
Related Questions in OUTLOOK-ADDIN
- C++ ATL Outlook plugin does not load
- How to show the appointment page from a form region in outlook
- Inheritance of a .Net interface in C#: How to access base members
- Modify background color of MailItem in Outlook 2013 Inbox
- Outlook Addin: "Tell me more" text in Ribbon item hover
- How can my outlook addin know when a link or an image is clicked in the body of an email message?
- Searching user tasks by task.body text
- How to capture "Print Tab" click event at the backstage in Outlook 2010 ?
- How to create a top-level folder in my Outlook using vb.net - VB.NET, Outlook 2013
- How can my Outlook VSTO Add-in modify the read email form?
- VSTO Outlook Getting Email Address From Someone with same Domain
- How to add images from resources folder as attachment and embed into outlook mail body in C#
- Where can I find the images folder after I deploy the outlook add-in?
- Getting information from delegated email account from appointment inspector window - outlook 2013 using addin-express
- Outlook Addin appointmentitem PropertyChange event firing too much
Related Questions in OFFICE-JS
- TS2339: Property 'getOoxml' does not exist on type 'Worksheet'
- office.js item.close() and inline replies in outlook
- Difficulty Embedding Fonts in PowerPoint Slides via insertSlidesFromBase64 Method
- Excel addin authentication for manifest referenced files
- Inline pictures: Add margin
- Does the Excel desktop client have a DOM Document, and how do I get to it?
- How to pass data from taskpane to a newly-created email?
- Can we extend the built-in Ribbon options using Office js manifests?
- Why can't I get a result from the Office.context.mailbox.item.to.getAsync function?
- Outlook Addin via JavaScript API: retrieving the categories of items in multi-select mode
- Share a piece of Redux state with custom functions only when its value has become stable
- Dispatch an action from custom functions
- Office-Js - How do I modify the manifest to add custom tab or custom button?
- Removing SlideMasters using the PowerPoint API
- how to get access token in word document 365 in desktop view
Related Questions in APPS-FOR-OFFICE
- Excel add-in with shared runtime - unhandled exception on displayDialogAsync
- Cannot debug add-in using F12Chooser in 1903
- Get all images in a Word document
- Icon does not appear for Outlook Web add in for Outlook 2016 on Windows
- Office Web applications (Word, Excel, Powerpoint) add-ins dropping cookie in IE11 on Windows 7
- Is it possible to search a Word document and return all the tables?
- How to detect old doc format in Word js api
- How to get User's actual Email Id in Outlook Add-in Integration
- Restrict user from closing outlook mail app, while some action is in progress
- How to open Select Data Dialogue from office content add in (Content App)
- How should paragraphCollection.first be used in the word javascript api
- Showing Task Panes
- Excel JS Add-In works in Excel but not Excel Online
- Excel add in (Content app) How to get rid of top right arrow
- Is addin (excel content add-ins) resize event supported/available in office.js 1.0 or 1.1?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Unfortunately Office.js API does not have the feature you are inquiring. You will not be able to disallow user interaction, as such closing the compose window or closing your add-in. As the API doesn't have "OnSend" or "OnClose" events you will not be able to display any warning either. If this is the new feature you would like to add you may try to send request via Office Developers User Voice. As the work around you should clearly indicate for the users that they need to wait and do not interup operation. You should display activity indicator, indeed. And finally you should be prepare user still interupt the operation in the middle and work properly with the error occur. Hope this helps.