Customising Views

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

Customising Views
 
Andrew Lockwood




Posts: 50
Joined: 2014-12-29
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: 14137
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.

Regards from Belarus (GMT+3),

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




Posts: 50
Joined: 2014-12-29
Spot on - again! Thanks very much.


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


Add-in Express team


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

Regards from Belarus (GMT+3),

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