Setting title to displayDialogAsync() dialog box in Microsoft Office Add-In

573 Views Asked by At

In taskpane.js of an Office Add-In, I'm calling displayDialogAsync(), which puts up a dialog box. The title of the dialog box is (name changed to protect the innocent) "My Word AddIn - https://myapp.web.core.windows.net/Dialog.html". Is there any way to change this title to something more user-friendly and reflective of the product? I can't seem to find anything in the Microsoft doc.

1

There are 1 best solutions below

0
On

Try adding Titlename in header component of the html file.

<head>
<title>Titlename</title>
.....
</head>