Show WebViewPane for one folder only, but one created with AddStoreEx

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

Show WebViewPane for one folder only, but one created with AddStoreEx
 
Lyubomir Ahtarov




Posts: 5
Joined: 2015-08-28
Hello,

My topic is almost the same as this one:
https://www.add-in-express.com/forum/read.php?FID=5&TID=7098

The difference comes when I create a new outlook store file using the method AddStoreEx
string pstPath = @"testnewstore.pst";
addIn.CurrentInstance.OutlookApp.Session.AddStoreEx(pstPath, Outlook.OlStoreType.olStoreDefault);

I've filled in the Folder Names property these rows:
[My Outlook Account]\Deleted Items
Outlook Data File\Deleted Items

and it works, for my personal folder, but not for the newly created one (which is named automatically Outlook Data File).
I've tried using also the name of the pst "testnewstore", but it doesn't work again.

Can you please advise me how I can show WebViewPane only for a newly created folder?
Thanks in advance.

regards
Lyubo
Posted 28 Aug, 2015 11:01:00 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Lyubomir,

The KNOWN ISSUES section of the whatsnew.txt file contains the following issue:

WebViewPane region cannot be used for folders if their WebViewOn and WebViewUrl properties cannot be modified. Possible solution is setting the "Allow Script in shared folders" and "Allow Script in Public Folders" options in the security settings. See the following article for more information: http://support.microsoft.com/kb/923933.

Please read the MSDN article, it will help to solve the problem.
Posted 31 Aug, 2015 03:41:24 Top
Lyubomir Ahtarov




Posts: 5
Joined: 2015-08-28
hi Dmitry,

Thanks for the answer. I would like to provide you with more information on this issue.
I'm not sure if you have heard about the product Opentext - http://www.opentext.com/

They provide a solution to use Outlook and connect it with their Content Server.
Here is a page about that:
http://www.opentext.com/what-we-do/products/enterprise-content-management/content-management/opentext-enterprise-connect

In their current solution I see that they are doing what I need - in a custom folder named "Enterprise connect"
they are inserting children folders at runtime and they are able to customize only those folders.
Here is a screenshot:
User added an image


Having in mind that I'm thinking if they have found a way to bypass that limitation or there is another way
how to create custom root and children folders without using a PST file?

regards
Lyubo
Posted 31 Aug, 2015 03:57:30 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Lyubomir,

Thank you for the additional details.

The WebViewPane limitation can be bypassed, the http://support.microsoft.com/kb/923933 contains 2 methods that you can use. I have just tested Method 2 and WebViewPane has started working in the additional store.

or there is another way how to create custom root and children folders without using a PST file?


There exists another way, you can develop a MAPI Store provider, but it is a harder way to implement. Please see the following article for more details:
https://msdn.microsoft.com/en-us/library/office/cc842153.aspx
Posted 31 Aug, 2015 07:27:40 Top
Lyubomir Ahtarov




Posts: 5
Joined: 2015-08-28
hi Dmitry,

Thanks for the answer about the message store provider. That was really helpful for me.

regards
Lyubo
Posted 31 Aug, 2015 07:36:29 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Lyubomir,

No problem and thank you for letting me know.
Posted 31 Aug, 2015 08:38:02 Top