0

I am trying Excel Addin with dialog api, and I have such dialog below:

enter image description here

How can I change the content in green area?

How can I disable the close button in red area?

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
Edward
  • 28,296
  • 11
  • 76
  • 121

1 Answers1

2
  1. The title is the name of your add-in specified in the manifest file. It is out of your control.

  2. There is no way to remove the close button on the upper right corner of the dialog window.

Read more about that in the Use the Office dialog API in Office Add-ins article.

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45
  • 1
    I'll add that Microsoft does have a work item to support modification of the dialog title. We hope that feature will be available sometime this year. – Rick Kirkham Jan 18 '22 at 23:07
  • I can see the title seems to be config in manifest with `DisplayName`, but, how to control the url like `https://localhost:3000/dialog.html`. For your link, I can see the [Dialog](https://learn.microsoft.com/en-us/office/dev/add-ins/images/auth-o-dialog-open.png), there is no url – Edward Jan 19 '22 at 02:17
  • You need to publish the add-in to any web server. – Eugene Astafiev Jan 19 '22 at 07:05