![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
| Tags: 2003, dayweekmonth, filter, outlook, programmatically, setting, view |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I am using OL2003 and am trying programmatically to set a filter on a
calendar view by editing the View.XML. I have no problems settings filters programatically on table views in the XML of table views, but for calendar views, the filter tag does not seem to part of the XML, and the exact same filter works on table, timeline, card and icon views. When I change a day/week/month view manually in Outlook and set a filter to only include items with the category 'b', then I would have expected to find something like this in the View.XML: filter"urn:schemas-microsoft-com ffice ffice#Keywords" = 'b'/filter But the filter works, and only appointments having the category b is shown in the view, but there is no filter tag in the xml for day/week/ month views. When I try to set the filter programmatically by inserting filter tag in the view.xml for a day/week/month view then the filter does not work, ie. nothing is filtered in the view. This is probably related to the fact that filters are not shown in the view.XML as I described above. The way I am setting filters programmatically works for table, card, timeline and icon views, so it is not there the problem is. Has anybody found a way to programmatically filter day/week/month views? or is this a known bug in calendar views ? |
| Ads |
|
#2
|
|||
|
|||
|
Outlook Spy definitely shows a filter tag here in ActiveExplorer.CurrentView.XML. In XML, you need to use special character tokens for both kinds of quotation marks. See if this works better:
filter"urn:schemas-microsoft-com ffice ffice#Keywords" = 'b'/filter-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "sn" wrote in message s.com... I am using OL2003 and am trying programmatically to set a filter on a calendar view by editing the View.XML. I have no problems settings filters programatically on table views in the XML of table views, but for calendar views, the filter tag does not seem to part of the XML, and the exact same filter works on table, timeline, card and icon views. When I change a day/week/month view manually in Outlook and set a filter to only include items with the category 'b', then I would have expected to find something like this in the View.XML: filter"urn:schemas-microsoft-com ffice ffice#Keywords" = 'b'/filter But the filter works, and only appointments having the category b is shown in the view, but there is no filter tag in the xml for day/week/ month views. When I try to set the filter programmatically by inserting filter tag in the view.xml for a day/week/month view then the filter does not work, ie. nothing is filtered in the view. This is probably related to the fact that filters are not shown in the view.XML as I described above. The way I am setting filters programmatically works for table, card, timeline and icon views, so it is not there the problem is. Has anybody found a way to programmatically filter day/week/month views? or is this a known bug in calendar views ? |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Appointments shown in Active appointment View but not in Day/Week/Month View | udaymg@gmail.com | Outlook - Calandaring | 3 | March 6th 07 10:27 PM |
| Sort appointments using categories in the Day/week/month view | schmitts726 | Outlook - Calandaring | 2 | October 17th 06 01:12 PM |
| Outlook 2003, category AND day week month view? | brycewoods1977 | Outlook - Calandaring | 1 | April 7th 06 01:31 PM |
| How do I get Active Appointments to show in Day/Week/Month view? | Alison | Outlook - Calandaring | 15 | March 14th 06 02:24 AM |
| Unable to view appts. in Day/Week/Month | Angela | Outlook - Calandaring | 3 | February 7th 06 12:57 PM |