GovZ
GovZ

Reputation: 283

Can an outlook (Javascript) add-in be displayed as a dialog and not a taskpane?

I currently have an Outlook addin (REST/Javascript) that gets displayed as a taskpane at the right hand side of the window whenever Outlook is opened. And I show a dialog window whenever I want to emphasize a message to the user via displayDialogAsync.

A recent desired feature however, made me think if it is possible for my Outlook (Javascript) addin to just show itself as a dialog, without any right hand side taskpane. Or we can still continue with what we have (a taskpane and a dialog) but set the taskpane hidden/invisible.

Thank you in advance.

Upvotes: 0

Views: 802

Answers (1)

user7823505
user7823505

Reputation:

Yes, it is possible to add a button for your addin which can directly open display dialog. Please look at how an ui-less action command can be implemented in Outlook Addins. You can refer to "FunctionFile" documentation here and also "Executing a Javascript function" here.

Upvotes: 1

Related Questions