How to make Outlook Add-in open in the side pane - outlook

I developing an outlook add-in for Office 365 and currently showing it in the grey bar below a mail item's details. So when clicking on the add-in name, I get a pane below it like this:
However, I want it to display it like Trello in the side pane like this:
Is there any specific setting in the add-in manifest that I need to include to get it to work like the Trello add-in?

You would need to use "VersionOverrides" tag for your manifest. Inside this section you would use...
<ExtensionPoint xsi:type="MessageReadCommandSurface">
and for the action you would "ShowTaskPane" with the resource pointed to the HTML file you would like to load. The example of such manifest you may find at GitHub for OfficeDev team

Related

add-in DisplayName font size, section height changes in taskpane and dialog box

We are developing an add-in to encrypt and decrypt mails.
When the taskpane is opened, DisplayName (in manifest) content's size is fixed and we can't modify it like we do in add-in's manifest to change the taskpane DesktopSettings properties.
We have already checked all the documentation related to manifest and office-js but didn't see any way to handle the height of DisplayName content.
I have added the example screenshot below. Is there any way to modify the height/width/font-size of the content in the section highlighted in yellow?
test add-in screenshot
OfficeJS doesn't provide anything for that. There is no way to customize the caption/header of the task pane for Office web add-ins. Moreover, this area is not customizable and every client (application/host) implements its own way to display the information from the manifest.
Feature requests on Tech Community are considered, when the dev team go through the planning process. Use the github label: Type: product feature request at https://aka.ms/M365dev-suggestions .

Is it possible to add an add-in icon in OWA's "easy-access" add-in toolbar?

Hello Outlook/Microsoft Team,
I would like to ask if there is a way to add our add-in icon to the "easy-access-toolbar" as shown in the image below. This toolbar (of outlook add-ins) is shown whenever you are reading email via the browser. Unfortunately, I could not find any guide or documentation on how to add a custom icon in this list.
After some investigations, I found that only add-ins from the market are added to this. Is my understanding correct? Or can a domain admin set this up? Or does this require a manifest entry?
Our outlook add-in is used exclusively by "enterprise" accounts. Thus, we did not deem it necessary to publish with the add-in store.
Thank you for your support and understanding.

How to add an Outlook Add-In Button to the main Mail Overview

I'm trying to create an Outlook Add-In that will forward the selected mail message as an attachment when the button is pressed. Preferably this will work both for the Outlook Client, and Outlook Web Access. To do this, I need to add a button to the main UI in Outlook which shows the list of messages.
However, within the new Add-In format, I don't see an ExtensionPoint for Outlook that allows adding a button to the main mail UI.
https://learn.microsoft.com/en-us/office/dev/add-ins/reference/manifest/extensionpoint#extension-points-for-word-excel-powerpoint-and-onenote-add-in-commands
There are options for the MessageRead pane or the MessageCompose pane, but I don't see anything for the general overview.
However, the following New Feature complains that multiple mail items can't be selected with the add-in syntax, which seems to imply that a single mail item can be selected. If a single mail item can be selected, then that implies that there is a way to add a button to the overview mail page since that's the only place mail can be selected.
This makes me think it is possible to do this, but I'm not sure how.
Can someone please point me to how this might be done?
NOTE: I am NOT trying to create a COM plugin. That is the old format and I've noticed they're increasingly less reliable in Outlook 2016. I am trying to use the new format.
The MessageReadCommandSurface and MessageComposeCommandSurface extension points for Outlook applies to both the main Outlook window (the Explorer) and the item (Inspector) windows. The Explorer Ribbon buttons activate when an email is selected, so the buttons interact on the selected email. So you don't have to do anything if you've already defined those extension points.

How to create a permanent notification in a new Outlook message?

(screenshot that shows WebExtNotifications )
Is there a method to programmatically create a permanent notification like shown on the screenshot without "Dismiss this message" link?
If WebExtNotifications property is documented anywhere?
Thanks,
Victor Ivanidze
You can create a task pane aligned to the top. That pane is free to display anything it wants using any controls.
You could try to Office.NotificationMessages interface, it is returned as the notificationMessages property of an item.
For more information, Please refer to these links:
Office.NotificationMessages interface
Office JavaScript API support for content and task pane add-ins in Office 2013

Add a custom button to an existing ribbon in Outlook 2010 and 2013

I want to customise the ribbon that is displayed when the "Home" tab is clicked in OUtlook 2010 and 2013.
Questions -
Is this possible? Or do I have to create a custom ribbon and cannot modify the existing ribbon?
If the existing ribbon can be modified, please can you'll direct me to links that can provide this information.
I absolutely have no clue where to start from with this. Any links, docs or samples will be helpful.
I've been going through msdn but it all speaks of custom ribbon and that doesn't fit my purpose. I need to modify the existing ribbon.
It is possible... by creating a custom ribbon which will in turn be added to the Home tab.
First, create a custom ribbon. Here's an example http://msdn.microsoft.com/en-us/library/ee692172.aspx#OfficeOLExtendingUI_Explorer
Then add:
idMso="TabMail"
to the tab tag on your XML. This will instruct Outlook to add your custom ribbon to Home tab.
Using the link's example, it would be like this:
<ribbon>
<tabs>
<tab id="MyTab"
idMso="TabMail"
getVisible="MyTab_GetVisible"
label="MyTab">
<group label="MyGroup" id="MyGroup">
<button id="MyButton"
size="large"
label="MyButton"
imageMso="HappyFace"
onAction="OnMyButtonClick"/>
</group>
</tab>
</tabs>
If you're using Visual Studio's designer instead of XML, set the ControlId property of your custom ribbon's tab to TabMail. Here's a walkthrough for custom ribbon creation with Visual Studio: http://msdn.microsoft.com/en-us/library/vstudio/bb386104(v=vs.100).aspx
And if you want to place your custom ribbon somewhere other than the Home tab, you'll need to find the locations's MSO ID. Microsoft provides a list which can be downloaded at http://www.microsoft.com/en-us/download/details.aspx?id=6627
Yes, an existing ribbon can be modified. Follow the steps given below to customize an existing ribbon in Outlook 2010:
Open Outlook 2010.
Go to the top of the Ribbon and click the Office Button
Click Outlook and then click on Options button.
In the left pane, select Customize Ribbon.
In the right pane, find the desired tab in the list of available tabs and expand it.
Use the list of available commands and the Add/Remove buttons to
customize the tab.
Click the OK button and you will be done.

Resources