I've tried to port over some code that worked in Visual Studio 2013 and adapt it for a new project in Visual Studio 2015 Community Edition with the Office developer addin.
I'm not quite sure what I've done differently, but this time round Outlook 2013 isn't displaying the ribbon tab that I created. It's not disabled, and it's not available in the "Customize Ribbon" dialogue either.
Sorry to be so vague, but I'm at a loss as to what to check and where to start to resolve this. I've attached a quick screengrab showing the tab I was hoping for and the debugger attached to the right outlook instance.
.
Do you get any UI errors?
By default, if an VSTO Add-in attempts to manipulate the Microsoft Office user interface (UI) and fails, no error message is displayed. However, you can configure Microsoft Office applications to display messages for errors that relate to the UI. You can use these messages to help determine why a custom Ribbon does not appear, or why a Ribbon appears but no controls appear. See How to: Show Add-in User Interface Errors for more information.
Also you may find the Walkthrough: Creating a Custom Tab by Using the Ribbon Designer helpful.
Related
In outlook desktop, we have recently noticed our addin (looks like all addins) are not loading in the ribbon section. This is not permanent. When we open the profile again, sometimes its there and we cannot find any pattern to this behavior.
Adding screenshots of the same.
From the image, you can see the addin taskpane opens with our addin "Emailgistics". However, the addin does not show up in the ribbon.
Previously, when we opened the profile, the addin was present in the ribbon, we clicked on it to open the task pane, and also pinned the addin. We think this is why the addin task pane opened up as soon as we selected an email.
The issue seems to be isolated with the ribbon. Any help will be much appreciated.
Also adding the outlook desktop version.
I am trying to develop a outlook addin using yoman-generator.
The code runs and opens outlook but the taskpane addin doesnot appear anywhere on the ribbon.
Also checked the disabled and inactive addins but the taskpane is nowhere to be found.
Anyone can help me on this please? And I am using outlook 2016
First of all, you need to check the manifest file for any ribbon UI customizations. If ribbon buttons are not listed there, you will never find them on the UI.
Also checked the disabled and inactive addins but the taskpane is nowhere to be found.
It seems you have checked the list of COM add-ins, not web add-ins in Outlook. On the Home tab you may find the Get Add-ins button which opens the Add-ins dialog where if clicking on the My Add-ins tab on the left side of the window you may find your add-in listed. If it is not listed there you need to add it by pointing to the manifest file. Before doing that you need to make sure the web server where the add-in is hosted is running and files are accessible.
Is there any way to add a button in home menu of outlook app?
If I click a button, I want a particular website to appear as a pop-up window.
Any comments would be appreciated!
VBA doesn't allow customizing the Fluent UI in Outlook. To customize the ribbon UI in Outlook you need to develop an add-in.
A rich customization is available for COM based add-ins, see Walkthrough: Create your first VSTO Add-in for Outlook to get started quickly. You may find the Walkthrough: Create a custom tab by using the Ribbon Designer helpful.
Another possible route is web-based add-ins. See Add-in commands for Outlook for more information. There is no so much flexibility like with COM add-ins, but the solution allows to support multiple platforms - Web, Mac OS, Windows.
I have a VSTO project, with a custom ribbon for Excel and some forms, and I have the following problem: I'm trying to work on the same project on both a PC and on a laptop for mobility (started on PC).
I synchronized the project folder with Dropbox, I installed the certificate on my laptop.
On the PC, no problems. On the laptop, I don't get any errors but when I run it, it does not display the custom ribbon.
Can anyone help me figure out what I'm doing wrong?
First of all, you need to make sure the add-in is loaded by the host application. Try to set a breakpoint and start debugging from VS. If any breakpoint is hit then you need to start working on the ribbon errors. If not, you need to check why the add-in is not loaded by the host application. There are multiple reasons why the add-in may not be loaded, see How to troubleshoot a VSTO addin that does not load? for more information.
By default, if a VSTO add-in attempts to manipulate the Microsoft Office user interface (UI) and fails, no error message is displayed. However, you can configure Microsoft Office applications to display messages for errors that relate to the UI. You can use these messages to help determine why a custom ribbon does not appear, or why a ribbon appears but no controls appear.
To show VSTO Add-in user interface errors you need:
Start the application.
Click the File tab.
Click Options.
In the categories pane, click Advanced.
In the details pane, select Show VSTO Add-in user interface errors, and then click OK.
See How to: Show Add-in user interface errors for more information.
I try to develop a Outlook Add-Ins (pure js/html app), not an VSTO / COM app with c#.
I found a way to add a button to the ribbonbar, but it seems to be only for Outlook 2016: https://msdn.microsoft.com/en-us/library/office/mt267546.aspx
But, is there a way to add a button in the ribbonbar for Outlook 2013?
Can't find anything even on dev.outlook.com...
You need to develop a COM add-in then (VSTO). See Walkthrough: Creating Your First VSTO Add-In for Outlook for more information.
There are two main ways for creating a custom UI in VSTO add-ins:
Walkthrough: Creating a Custom Tab by Using Ribbon XML
Walkthrough: Creating a Custom Tab by Using the Ribbon Designer
Moreover, your ribbon commands can be displayed for Exchange profiles only (where Office Apps can be run). But COM add-ins are run for all kind of profiles in Outlook.