Outlook public folders & change events

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

Outlook public folders & change events
Outlook folder change events that are triggered on public folders will send multiple web requests. 
macroview




Posts: 26
Joined: 2009-05-25
Hi,

Users of our product have noticed a performance hit when selecting Outlook public folders, which does not seem to occur with regular folders.
After some digging we noticed accessing folder properties (such as FullFolderPath, FolderPath, Description) will trigger Outlook to retrieve this information via a web request.
This is roughly 30 requests vs 6 (when the COM add-in is disabled).

Adding extra logic to prevent accessing these properties did not seem to fix our issue.

We retested without our code, and instead created a blank/vanilla Add-in Express COM add-in for Outlook and noted:
-Creating a blank (nothing added) add-in increased the requests from 6 to 11
-Creating an add-in with an empty ADXOIFormsManager increased the requests from 6 to 20 odd.

As well as the noticeable delay Outlook automatically disables the add-in saying it's resulting in slow folder switching.
This would not necessarily be an issue if requests were handled asynchronously, or not within the folder change events.

Also Caching the Outlook data had not effect.

Any ideas on how to prevent the delay, or the requests, or handle them outside of the UI thread would be appreciated.
Posted 22 Mar, 2021 18:41:50 Top
Andrei Smolin


Add-in Express team


Posts: 18224
Joined: 2006-05-11
Hello,

We've filed down this issue under 19756 in our issue-tracking DB. It looks like we won't be able to provide a fix/workaround soon. Anyway, when I have any news, I'll send you a note.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 24 Mar, 2021 02:58:00 Top
macroview




Posts: 26
Joined: 2009-05-25
No problem,
Thanks Andrei
Posted 25 Mar, 2021 23:20:28 Top
macroview




Posts: 26
Joined: 2009-05-25
Hi Andrei Smolin,
Posted 19 Apr, 2021 17:58:24 Top
Andrei Smolin


Add-in Express team


Posts: 18224
Joined: 2006-05-11
Hello,

I remember about this case. Unfortunately, there's nothing our guys could provide at the moment. We are going to get a research done not earlier than two weeks. Note that the research may not result in a fix.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 20 Apr, 2021 08:23:05 Top
Andrei Smolin


Add-in Express team


Posts: 18224
Joined: 2006-05-11
Hello,

We will start working in this next week.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 14 May, 2021 06:35:30 Top
Andrei Smolin


Add-in Express team


Posts: 18224
Joined: 2006-05-11
Hello,

We've studied the issue and we understood it as follows. Public Folder is a slow thing. Add-in Express adds to its slowness by requesting folder properties needed for the decision: to show the form or not. We've found that some properties may be requested when needed and we changed the code accordingly. Still, we don't see a real solution to the issue because the Add-in Express slowness is a minor thing when compared to the slowness of Public Folders.

In a couple of minutes I'll send you an email with a download link for the AddinExpress.OL.2005.dll containing the changes above.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 17 May, 2021 05:12:45 Top
macroview




Posts: 26
Joined: 2009-05-25
Thanks Andrei
Posted 17 May, 2021 21:35:40 Top
Andrei Smolin


Add-in Express team


Posts: 18224
Joined: 2006-05-11
You are welcome.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 18 May, 2021 05:02:52 Top
macroview




Posts: 26
Joined: 2009-05-25
Hi Andrei,

After some testing we can confirm this does improve the issue, with some additional changes in our code as well.
Is there an eta on an official release that has these fixes?

Regards
Posted 27 May, 2021 19:22:11 Top