WebViewPane on Outlook Today

Add-in Express™ Support Service
That's what is more important than anything else

WebViewPane on Outlook Today
How to show WebViewPane on OutlookToday over ButtonClickEvent in OutlookRibbon 
This forum has moved to a new location. From now on, please post all your questions about Add-in Express Regions on .NET and VSTO forum.
Mathias Bachul




Posts: 2
Joined: 2011-04-12
Hello

I have created a project with Visual Studio 2010 with a ADXOLForm as WebViewPane(ExplorerLayout) over the ADXOL-Wizard. But when i test the project the form does not show in "outlook today". How can i show the form in outlook today and how can i show the form over a buttonclickevent in outlook ribbon?


' ADXOlForm1
' TODO: Use the ADXOlForm1Item properties to configure the region's location, appearance and behavior.
' See the "The UI Mechanics" chapter of the Add-in Express Developer's Guide for more information.
ADXOlForm1Item = New ADXOlFormsCollectionItem()
ADXOlForm1Item.ExplorerLayout = ADXOlExplorerLayout.WebViewPane
ADXOlForm1Item.AlwaysShowHeader = True
ADXOlForm1Item.CloseButton = True
ADXOlForm1Item.UseOfficeThemeForBackground = True
ADXOlForm1Item.FormClassName = GetType(ADXOlForm1).FullName
Me.FormsManager.Items.Add(ADXOlForm1Item)


Thanks
Mathias
Posted 08 Dec, 2011 02:35:19 Top
Eugene Astafiev


Add-in Express team


Posts: 8540
Joined: 2007-07-25
Hi Mathias,

The Developer's Guide states the following:

Specifying the layout is not enough, however. To have instances of the form displayed, you also need to set at least one of the three context-sensitivity properties ExplorerItemTypes, ExplorerMessageClass or
FolderNames.


It looks like you didn't set the FolderName or FolderNames properties of the ADXOlFormsCollectionItem class. Am I on the right avenue?
.NET, Extended MAPI, Windows Phone & RT
Posted 08 Dec, 2011 05:12:54 Top
Mathias Bachul




Posts: 2
Joined: 2011-04-12
Hi Eugene,

thanks for your answer.
Posted 08 Dec, 2011 09:09:57 Top