Reputation: 27
Office.context.ui.displayDialogAsync(
url,
{
height: 50,
width: 50,
displayInIframe: true,
},
)
set displayInframe to true, the dialog should be displayed as a floating overlay with an IFrame, but it still created a new browser window.
Platform: Excel 2016 on Mac
Upvotes: 1
Views: 454
Reputation: 586
The displayInIframe setting, as the documentation states, is only applicable for the Online (Web) platform. All other platforms (Windows, IOS, Mac) will display the dialog as a Pop-up inside the Office application (its not a stand alone browser window)
Upvotes: 2