Performance degradation when switching between folders

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

Performance degradation when switching between folders
 
Andriy




Posts: 49
Joined: 2018-03-13
Hi our customers are experiencing performance degradation when switching between folders of outlook - it takes to much time to switch between folders.

I've noticed that events for Form to hide and show are raised - form is removed on one view, and shown on another folder view. What impact Add-in express functionality has on folder switch? (We are talking about nearly 10000 emails in folder).
Posted 23 Apr, 2020 10:37:13 Top
Andriy




Posts: 49
Joined: 2018-03-13
Or let me ask another way is there a way for Add-in express region to not be redrawn every time user switches folder?
Posted 24 Apr, 2020 05:12:53 Top
Andrei Smolin


Add-in Express team


Posts: 17438
Joined: 2006-05-11
Hello Andriy,

Andriy writes:
is there a way for Add-in express region to not be redrawn every time user switches folder?


See ADXOlCollectionItem.Cached = OneInstanceForAllFolders.

I would also check if the code disconnects from event handlers when the pane becomes hidden.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 24 Apr, 2020 05:17:45 Top
Andriy




Posts: 49
Joined: 2018-03-13
Hello Andrei,

Thank you for response, we already using ADXOlCollectionItem.Cached = OneInstanceForAllFolders.

We are having some logic on view visible changed, view switch but this has low execution time and impact.

Best regards
Posted 27 Apr, 2020 02:46:58 Top
Andrei Smolin


Add-in Express team


Posts: 17438
Joined: 2006-05-11
Hello Andriy,

I don't understand whether using OneInstanceForAllFolders fixed the issue for you or not.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 27 Apr, 2020 04:50:44 Top
Andriy




Posts: 49
Joined: 2018-03-13
Hello Andrei,

We were already using OneInstanceForAllFolders setting. Can we make rendering of Add-in express form faster.
Posted 27 Apr, 2020 04:59:49 Top
Andrei Smolin


Add-in Express team


Posts: 17438
Joined: 2006-05-11
Hello Andriy,

Andriy writes:
We are having some logic on view visible changed, view switch


I suggest that you execute this logic after a small delay created using the ADXOlForm.ADXPostMessage method and ADXOlForm.ADXPostMessageReceived event.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 27 Apr, 2020 05:06:36 Top
Andriy




Posts: 49
Joined: 2018-03-13
Hello Andrei,

Can you explain this more how this can help us?

Regards.
Posted 27 Apr, 2020 06:51:52 Top
Andrei Smolin


Add-in Express team


Posts: 17438
Joined: 2006-05-11
The idea is to check whether your code influences the issue.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 27 Apr, 2020 09:20:13 Top