how to show notifications in outook addin - outlook-web-addins

Office.context.mailbox.item.notificationMessages is supported only requirement version 1.3 or later, if I want to show notifications in old versions of outlook. what is the best way of doing?

You can display a message as well as the loading indicator in the add-in's UI, and in this case, the task pane.

Related

Release note or changelog popup after extension upgraded

I developed an extension for VS Code helping users manage their services in Azure. I found that some of our extension users were not aware of the new features after the extension was upgraded. Is there a way to show extension's release note automatically e.g., a popup window or a new opening tab after users upgraded their extensions?
The simplest (no more than 10-20 lines of code) you can do is (even if no VS Code API),
When the extension initializes, check if a file SHOWED is in the extension folder.
If not, pop up and notify your users of the release notes. These are typical functions in VS Code API.
After the notification, generate a zero length SHOWED file there.
Since every extension updates move to a new folder where no SHOWED file exists, your code can always notify the users with release notes again.

Getting Add-in to Display on Shared Calendar On Windows Client?

Hi allHaving an issue with an add-in I developed for Outlook using the newest Office API set of 1.8. I added the requisite <SupportsSharedFolders>true</SupportsSharedFolders> to load the plug-in on the ribbon of the Shared Calendar portion of the Appointment tab and it works on all instances of client/OWA except Windows.
In Windows the system does not show any loading errors, issues from the app, etc. but does not load. While in the OS X client the system works as intended. Loading in OWA works as well, but just not in Windows.
I can provide the full manifest though the needed portion should only be the "SupportsSharedFolders" being enabled to get it into the system. Anyone else having this problem?
Thanks!
All for whomever might be running into this same issue:
The 'fix' for this was making sure the versioning of Outlook matched the minimum of version 1912 on the Monthly track. Any less, 1908 was not working, the system does not load the most current Outlook/Office API 1.8 so does not recognize the Shared Calendar access for add-ins.

Can;t show task pane of excel add-in tutorial

I am learning Office add-n and have just been practicing to make a button in excel. I can't show the new button in the excel ribbon even copy and run the complete add-in project from GitHub. Can anyone help?
Best regards
Tuan
You need to make sure the following applies:
Office Desktop products must be versioned 16 or higher
In your XML, you need to make sure that you are making all HttpS requests. It must be secure
Make sure that you are not missing any closing tag />.
Also you should be able to see the changes on 365 since they are using the latest version.

Popup window inside a task pane add-in

I have a task pane add-in in Office.
I have an item in the task pane, and a delete button. Now, when users click on the delete button, I want to pop up a small window to ask if users are sure about the deletion. If yes, we continue; if no, we go back to the current page.
It is like the Window confirm() method for a web page.
Does anyone know how to pop up this small window in the task pane add-in?
Additionally, if I want users to choose an option in this popup window (eg, choosing a colour between blue or red) before continuing (let's forget yes or no), how could we realise this? More generally, is it possible to create a custom confirm box?
As you design and build web apps for Office 365 or add-ins for Office and SharePoint, you can take advantage of the Office UI toolkit to make your experience look and feel like Office. The Office UI toolkit has key plug and play components that will make it easy to create web experiences that connect to and integrate with Office.
One of the controls offered by Office Fabric JS package is Dialog which has a lot of customization. I believe you'll find one suitable for your task.
Yet another option is to use any UI package which has variety of UI controls, for example jQuery mobile. And finally you may just write your own control.

Microsoft Excel Notification from Add-on

I am building an add-on for Microsoft Excel. I would like to see a notification popping up displaying name of the company whenever the add-on is added to MS Excel.
I tried using xlcAlert, But it demands user interaction (The user needs to click "OK").
I would like to use some banner, which comes for a second or two and then banishes away.
Please guide for the same.
How about a form which loads when the add-in does, and then unloads after a set interval?

Resources