Show same ADXForm1 in both Inspector and Explorer Reading Pane

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

Show same ADXForm1 in both Inspector and Explorer Reading Pane
 
Lance Friedemann




Posts: 24
Joined: 2017-02-10
I have an ADXForm1 that displays at the bottom subpane of the Inspector window. I would like to display the same ADXForm1 in the bottom of the Explorer reading pane.

I edited the existing ADXOLFormsManager1 in the AddinModule Design window. Opened the ADXFormsCollectionItem1 and made the following edits:

ExplorerItemTypes: Mail
ExplorerLayout: BottomReadingPane

What else do I need to do to make this form display in both locations?
Posted 10 Mar, 2017 01:14:31 Top
Andrei Smolin


Add-in Express team


Posts: 14137
Joined: 2006-05-11
Hello Lance,

If your add-in project shows the inspector form, you only need to set the ExplorerItemTypes and ExplorerLayout, build the project, and restart Outlook to see the explorer form shown.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 10 Mar, 2017 07:09:48 Top
Lance Friedemann




Posts: 24
Joined: 2017-02-10
Yes, I agree. But this is not working.
Posted 10 Mar, 2017 10:25:45 Top
Andrei Smolin


Add-in Express team


Posts: 14137
Joined: 2006-05-11
You can send me your project for testing. Actually you can send any project that reproduces the issue. You can find the support email address in {Add-in Express installation folder}\readme.txt. Please make sure your email contains a link to this topic.

I'll be able to look into your project on Monday only. Have a nice weekend.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 10 Mar, 2017 10:57:32 Top
Andrei Smolin


Add-in Express team


Posts: 14137
Joined: 2006-05-11
Hello Lance,

Thank you for the project. It didn't work for me because I have a different environment. After I wrapped the code of ADXOlForm1_ADXBeforeFormShow() in a try/catch block, the add-in loads the form as expected.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 13 Mar, 2017 05:58:39 Top
Lance Friedemann




Posts: 24
Joined: 2017-02-10
Andrei,

The form always loads in an Inspector window. It fails to load in the reading pane.

Wrapping the code in a Try/Catch block should not alter the behavior of code, but I tried wrapping the code for ADXOLForm1_ADXBeforeFormShow in a Try/Catch block as you suggested, but the result is the same. The form only loads in a new Inspector window, it does not load in the Reading pane of the message in the Explorer window.
Posted 13 Mar, 2017 10:57:19 Top
Andrei Smolin


Add-in Express team


Posts: 14137
Joined: 2006-05-11
Hello Lance,

Are there exceptions? Did you debug the ADXOlForm1_ADXBeforeFormShow() method? Does it call Me.Visible=False?

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 14 Mar, 2017 00:51:00 Top
Lance Friedemann




Posts: 24
Joined: 2017-02-10
Yes, I've run the debugger. ADXOLForm1_ADXBeforeFormShow() does not fire when the reading pane is enabled in Outlook. It only fires when an Inspector is launched.
Posted 14 Mar, 2017 09:35:48 Top
Andrei Smolin


Add-in Express team


Posts: 14137
Joined: 2006-05-11
Lance,

I would like to access your PC remotely within the next 30 minutes. Is this possible? If yes, I suggest using TeamViewer 11; in this case you'll need to send me your session ID and password. You can download TeamViewer 11 at http://temp.add-in-express.com/support/as/ts11/TeamViewer_Setup-iqy.exe.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 14 Mar, 2017 09:38:26 Top