Customising Views

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

Customising Views
 
Andrew Lockwood


Guest


Is it possible to customise a view programatically?

For example, I have a custom view with the following DASL filter:-

(("http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/EmployeeID" = 10 OR "http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/DelegatedToID" = 10) AND ("http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/811c000b" = 0))

but I would like to be able to change it whilst Outlook is running, based on user choices.

Thanks.


Andrew
Posted 02 Nov, 2015 20:42:57 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
Hello Andrew,

Please check View.Filter; see https://msdn.microsoft.com/en-us/library/office/ff868066%28v=office.15%29.aspx.


Andrei Smolin
Add-in Express Team Leader
Posted 03 Nov, 2015 05:00:54 Top
Andrew Lockwood


Guest


Spot on - again! Thanks very much.


Andrew
Posted 03 Nov, 2015 16:36:48 Top
Andrei Smolin


Add-in Express team


Posts: 18823
Joined: 2006-05-11
You are welcome!


Andrei Smolin
Add-in Express Team Leader
Posted 04 Nov, 2015 03:05:20 Top