Office.js dialog makes Outlook hang after 5 minutes -


i'm running sample outlook add-in dialog application. displays dialog 2 buttons, not have logic nor makes calls rest service.

if more 5 minutes elapse before closing dialog, outlook's compose frame becomes unresponsive , user forced refresh entire page see picture

  1. is behavior expected?
  2. is timeout configurable?
  3. any recommendations how handle such situation , provide best user experience?

from screenshot , code linked to, looks you're using on send add-in.

is behavior expected?

no, behavior you're seeing bug. specially, owa shouldn't stop responding after 5 minutes.

thank reporting issue. apologize frustration or inconvenience have caused issue. please patient work fix issue can.

what expected behavior?

for execute function add-in commands, add-in automatically closed after 5 minutes, if event.completed() hasn't been called before then. open dialog closed @ time.

for on send add-ins, understanding behavior should same execute function, except email wouldn't sent in case of timeout.

is timeout configurable?

it's not configurable. 5-minute timeout applies execute function , on send add-in commands.

any recommendations how handle such situation , provide best user experience?

for recommendations, assuming owa doesn't stop responding, don't think there single best option, , depends on over send scenario.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -