Questions tagged [office-dialog-api]

16 questions
2
votes
1 answer

Sample example - Microsoft regarding Monetize your Office 365 add-in through Microsoft Commercial Marketplace

I have received an email from Microsoft regarding Monetize your Office 365 add-in through Microsoft Commercial Marketplace. I have an excel content pane add-in already listed in app source and is paid, I want to Monetize it through Microsoft. Is…
ozil
  • 6,930
  • 9
  • 33
  • 56
1
vote
2 answers

Excel AddIn customize title bar

I need to customize title bar in Excel AddIn, for example change background color, add border radius, delete url etc. Is it possible? If it is, how do I make it? Excel AddIn title bar
1
vote
0 answers

Office Add-In for OUTLOOK windows with Angular display dialog not working

I'm using Angular 9 to create Office Add-Ins, and the application runs SUCCESSFULLY in Outlook windows, but when I try to open the Authentication dialogue (login with microsoft), it redirects to the default windows browser instead of the internal…
0
votes
2 answers

Office.context.ui.messageParent not returning data to parent page

I have created an Outlook Add-in, I am is using SSO to authenticate users, I can not get messageParent to work. Below is what i am doing any help would be greatly appreciated Page: Weclome.html On Weclome.html on Button click I am opening a dialog…
0
votes
2 answers

Office.js dialog taking up more space than specified in displayDialogAsync options

I'm using Office.js to display a dialog in an Office add-in. I call the displayDialogAsync function like this: Office.context.ui.displayDialogAsync(`https://localhost:3000/notification.htmlmessage=${message}&icon=${icon}`,{ height: 10, width: 10,…
0
votes
1 answer

Excel Add-in Dialog open gives ""An internal error has occurred." error

I have an Excel Add-in using shared runtme which has some ribbon buttons and one of the ribbon button is used to open a dialog. However if user clicks this button frequantly, I am getting this error ""An internal error has occurred." and no page is…
0
votes
0 answers

Office Word add-in – Msal using login redirect not working on Mac (Safari webkit 1.0)

We’re using Azure B2C to authenticate the users in the Word add-in. The library in Angular (14.1.2) that we use is MSAL which works as expected on Windows. However, when using it on Mac, the redirect inside the add-in dialog gets stuck and doesn’t…
0
votes
1 answer

Office.context.ui.addHandlerAsync is not a function in Android Outlook

I want to add handler to dialog I have opened using Office Dialog API. It works on desktop and in iOS Outlook app. However, it doesn't work in Android Outlook app. When I try to call Office.context.ui.addHandlerAsync on Android Outlook, the function…
0
votes
1 answer

Do Office 365(word, excel, power-point) support Office dialog API?

Office dialog API with Office.context.ui.displayDialogAsync() opens a dialog (verified in Office 2021 version). Do Office 365 supports same API or any other to show a dialog?
0
votes
1 answer

Excel AddIn How to change the Dialog title?

I am trying Excel Addin with dialog api, and I have such dialog below: How can I change the content in green area? How can I disable the close button in red area?
Edward
  • 28,296
  • 11
  • 76
  • 121
0
votes
0 answers

Dialog API issue - displayed dialog remains visible after Esc key is pressed

I have encountered a problem that when I open a dialog through the dialog API the dialog will be shown properly (picture of loaded dialog), but when I click outside the dialog and press the Esc key the Add-in will be closed but the dialog will…
0
votes
2 answers

How to read redirected url parameters from Office.context.ui.displayDialogAsync

I am stuck on how to read url parameters/token from redirected page url in Outlook web-addin. I am using DialogAPI to pop up my azure app sign-in/consent page and then trying to read tokens from redirected page. I can see that token are passed but I…
0
votes
1 answer

Sending an AJAX get request to a API secured using Azure Active Directory

I have created an office-js addin which is opening a dialog-api which is hosted as an Azure app service. The dialog-api send an AJAX call to an asp.net web api (which is secured using Azure AD). While calling the web api I am getting thie error…
0
votes
1 answer

Error in outlook addin dialog. TypeError: can't redefine non-configurable property "context"

I am trying to create a dialog in my outlook add-in. I got this error from the browser console of the dialog while loading office scripts. The dialog contains a simple html page with jquery and office scripts references in the header. TypeError:…
diffuse
  • 620
  • 1
  • 7
  • 15
0
votes
0 answers

Authorization to external service via Office API: dialog window is just closed after the redirect during Office.js initialization

Has Office Add-in for the Outlook Online. I need to implelemnt login logic to external service with next steps: Show my page (gateway.php) in seperate window Redirect to the external service authentication page Redirect back to my page, retrieve…
1
2