Morley Tooke
Microsoft Corporation
March 2001
Applies to:
Microsoft® Outlook® 2002
Summary: This document contains a description of the default view schemas for Microsoft Outlook 2002 as well as any XML properties associated with each view type. It was intended to help users create and customize views in Outlook 2002. This document should be used as a companion to the article Creating Custom Views. (14 printed pages)
Contents
Base view schema property values
Default Table view schema
Table view property values
Visible column schema property values
Default Card view schema
Card view schema property values
Default Calendar view schema
Calendar view property values
Default Icon view schema
Icon view property values
Default Timeline view schema
Timeline view property information
Table 1. Base view schema property values
| XML view property | Default value |
| ViewTime | N/A |
| ViewReadOnly | N/A |
| Visible | False |
| MarkAsRead | True |
| ShowPreviewHeader | True |
| AlignToTop | False |
| AlignToBottom | True |
| AligntoLeft | False |
| AlignToRight | True |
| PreviewWidth | N/A |
| PreviewHeight | N/A |
Listing 1. Default Table view schema
<?xml version="1.0"?>
<view type="table">
<viewname>Default TableView Schema</viewname>
<viewstyle>table-layout:fixed;width:100%;font-family:Tahoma;
font-style:normal;font-weight:normal;font-size:8pt;color:Black</viewstyle>
<viewtime>210432853</viewtime>
<linecolor>8421504</linecolor>
<linestyle>3</linestyle>
<collapsestate></collapsestate>
<rowstyle>background-color:#ffffff</rowstyle>
<headerstyle>background-color:#d3d3d3</headerstyle>
<previewstyle>color:Blue</previewstyle>
<column>
<name>HREF</name>
<prop>DAV:href</prop>
<checkbox>1</checkbox>
</column>
<column>
<heading>Importance</heading>
<prop>urn:schemas:httpmail:importance</prop>
<type>i4</type>
<bitmap>1</bitmap>
<width>10</width>
<style>padding-left:3px;text-align:center</style>
</column>
<column>
<heading>Icon</heading>
<prop>http://schemas.microsoft.com/mapi/proptag/0x0fff0102</prop>
<bitmap>1</bitmap>
<width>18</width>
<style>padding-left:3px;text-align:center</style>
</column>
<column>
<heading>Flag Status</heading>
<prop>http://schemas.microsoft.com/mapi/proptag/0x10900003</prop>
<type>i4</type>
<bitmap>1</bitmap>
<width>18</width>
<style>padding-left:3px;text-align:center</style>
</column>
<column>
<format>boolicon</format>
<heading>Attachment</heading>
<prop>urn:schemas:httpmail:hasattachment</prop>
<type>boolean</type>
<bitmap>1</bitmap>
<width>10</width>
<style>padding-left:3px;text-align:center</style>
<displayformat>3</displayformat>
</column>
<column>
<heading>From</heading>
<prop>urn:schemas:httpmail:fromname</prop>
<type>string</type>
<width>25</width>
<style>padding-left:3px;text-align:left</style>
<displayformat>1</displayformat>
</column>
<column>
<heading>Subject</heading>
<prop>urn:schemas:httpmail:subject</prop>
<type>string</type>
<width>120</width>
<style>padding-left:3px;text-align:left</style>
</column>
<column>
<heading>Received</heading>
<prop>urn:schemas:httpmail:datereceived</prop>
<type>datetime</type>
<width>30</width>
<style>padding-left:3px;text-align:left</style>
<format>M/d/yyyy||h:mm tt</format>
<displayformat>2</displayformat>
</column>
<column>
<heading>Size</heading>
<prop>http://schemas.microsoft.com/mapi/id/
{00020328-0000-0000-C000-000000000046}/8ff00003</prop>
<type>i4</type>
<width>15</width>
<style>padding-left:3px;text-align:left</style>
<displayformat>3</displayformat>
</column>
<orderby>
<order>
<heading>Received</heading>
<prop>urn:schemas:httpmail:datereceived</prop>
<type>datetime</type>
<sort>desc</sort>
</order>
</orderby>
<groupbydefault>2</groupbydefault>
<previewpane>
<visible>1</visible>
<markasread>0</markasread>
<previewwidth>0</previewwidth>
<previewheight>500</previewheight>
</previewpane>
</view>
Table 2. Table view property values
| XML view property | Default value |
| LineColor | clrLines value |
| LineStyle | CslLines value |
| AutoPreview | False |
| GroupByWell | False |
| FieldWell | False |
| GridLines | False |
| AutoSizing | True |
| PreviewUnreadOnly | False |
| DontShadeGrpHdr | False |
| NewItemRow | False |
| InCellEdit | False |
| MultilineFields | False |
| CollapseState | N/A |
This table defines the default schema of all visible columns in a view.
Table 3. Visible column schema property values
| XML view property | Default value |
| BitmapHeader | False |
| AutoResize | True |
| DisplayAlways | False |
| Visible | True |
| MaxRows | 0 |
| Width | N/A |
| Sortable | True |
| Style | text-align:left;cell-padding:3px |
Listing 2. Default Card view schema
<?xml version="1.0"?>
<view type="card">
<viewname>Default CardView Schema</viewname>
<viewstyle>table-layout:fixed;width:100%;font-family:Tahoma;
font-style:normal;font-weight:normal;font-size:8pt;color:Black</viewstyle>
<viewtime>210432856</viewtime>
<readonly>1</readonly>
<multilineminheight>10485761</multilineminheight>
<cardwidth>1632895136</cardwidth>
<headerstyle>font-weight:bold</headerstyle>
<column>
<name>HREF</name>
<prop>DAV:href</prop>
<checkbox>1</checkbox>
</column>
<column>
<heading>From</heading>
<prop>urn:schemas:httpmail:fromname</prop>
<type>string</type>
<width>80</width>
<style>padding-left:3px;text-align:left</style>
<displayformat>1</displayformat>
</column>
<column>
<heading>Subject</heading>
<prop>urn:schemas:httpmail:subject</prop>
<type>string</type>
<width>80</width>
<style>padding-left:3px;text-align:left</style>
</column>
<column>
<heading>Due By</heading>
<prop>urn:schemas:httpmail:reply-by</prop>
<type>datetime</type>
<width>30</width>
<style>padding-left:3px;text-align:left</style>
<format>M/d/yyyy||h:mm tt</format>
<displayformat>2</displayformat>
</column>
<column>
<heading>Importance</heading>
<prop>urn:schemas:httpmail:importance</prop>
<type>i4</type>
<width>40</width>
<style>padding-left:3px;text-align:center</style>
</column>
<column>
<heading></heading>
<prop>urn:schemas:httpmail:textdescription</prop>
<type>string</type>
<width>80</width>
<sortable>0</sortable>
<style>padding-left:3px;text-align:left</style>
<shortheading></shortheading>
<userheading></userheading>
</column>
<orderby>
<order>
<heading>From</heading>
<prop>urn:schemas:httpmail:fromname</prop>
<type>string</type>
<sort>asc</sort>
</order>
</orderby>
<groupbydefault>2</groupbydefault>
<previewpane>
<markasread>0</markasread>
<aligntobottom>0</aligntobottom>
<previewwidth>0</previewwidth>
<previewheight>500</previewheight>
</previewpane>
</view>
Table 4. Card view schema property values
| XML view property | Default value |
| ReadOnly | False |
| ShowEmpty | False |
| ShowLonglabels | False |
| MultiLineMinHeight | N/A |
| CardWidth | N/A |
| BodyStyle | N/A |
| HeaderStyle | N/A |
Listing 3. Default Calendar view schema
<?xml version="1.0"?>
<view type="calendar">
<viewname>Default CalendarView Schema</viewname>
<viewstyle>table-layout:fixed;width:100%;font-family:Tahoma;
font-style:normal;font-weight:normal;font-size:8pt;color:Black</viewstyle>
<viewtime>210432858</viewtime>
<mode>1</mode>
<splitterwidth>-1</splitterwidth>
<splitterheight>-1</splitterheight>
<displaytimeunits>30</displaytimeunits>
<taskfilter>0</taskfilter>
<taskpad>0</taskpad>
<noboldcalendardays>1</noboldcalendardays>
<includenodue>1</includenodue>
<lunarinfotype>0</lunarinfotype>
<rokuyou>0</rokuyou>
<startfield>urn:schemas:httpmail:datereceived</startfield>
<endfield>urn:schemas:httpmail:datereceived</endfield>
<calendarstyle>font-size:16pt</calendarstyle>
<previewpane>
<markasread>0</markasread>
<aligntobottom>0</aligntobottom>
<previewwidth>0</previewwidth>
<previewheight>500</previewheight>
</previewpane>
<embeddedview type="table">
<viewstyle>table-layout:fixed;width:100%;font-family:Tahoma;
font-style:normal;font-weight:normal;font-size:8pt;color:Black</viewstyle>
<viewtime>0</viewtime>
<linecolor>8421504</linecolor>
<linestyle>3</linestyle>
<gridlines>1</gridlines>
<newitemrow>1</newitemrow>
<incelledit>1</incelledit>
<collapsestate></collapsestate>
<rowstyle>background-color:#ffffff</rowstyle>
<headerstyle>background-color:#d3d3d3</headerstyle>
<previewstyle>color:Blue</previewstyle>
<column>
<name>HREF</name>
<prop>DAV:href</prop>
<checkbox>1</checkbox>
</column>
<column>
<heading>Icon</heading>
<prop>http://schemas.microsoft.com/mapi/proptag/0x0fff0102</prop>
<bitmap>1</bitmap>
<width>18</width>
<style>padding-left:3px;text-align:center</style>
</column>
<column>
<format>boolicon</format>
<heading>Complete</heading>
<prop>http://schemas.microsoft.com/mapi/id/
{00062003-0000-0000-C000-000000000046}/811c000b</prop>
<type>boolean</type>
<bitmap>1</bitmap>
<width>35</width>
<style>padding-left:3px;text-align:center</style>
<displayformat>3</displayformat>
</column>
<column>
<heading>TaskPad</heading>
<prop>urn:schemas:httpmail:subject</prop>
<type>string</type>
<width>15</width>
<style>padding-left:3px;text-align:left</style>
<userheading>TaskPad</userheading>
</column>
<groupbydefault>0</groupbydefault>
<previewpane>
<markasread>0</markasread>
<previewwidth>0</previewwidth>
<previewheight>500</previewheight>
</previewpane>
</embeddedview>
</view>
Table 5. Calendar view property values
| XML view property | Default value |
| Mode | nCalMode |
| SplitterWidth | dxSplit |
| Splitterheight | dySplit |
| DisplayTimeUnits | nDisplayTimeUnits |
| TaskFilter | N/A |
| TaskPad | True |
| NoBoldCalendarDays | False |
| ShowBusyDays | True |
| ScrollToFirst | True |
| WeekShowAsClock | False |
| MonthShowAsClock | False |
| CompressWeekend | True |
| WeekShowEndTime | True |
| MonthShowEndTime | True |
| IncludeNoDue | False |
| LunarInfoType | N/A |
| AutoPreview | False |
| StartField | N/A |
| EndField | N/A |
| Rokuyou | N/A |
Listing 4. Default Icon view schema
<?xml version="1.0"?>
<view type="icon">
<viewname>Default IconView Schema</viewname>
<viewstyle>table-layout:fixed;width:100%;font-family:Tahoma;
font-style:normal;font-weight:normal;font-size:8pt;color:Black</viewstyle>
<viewtime>210432858</viewtime>
<iconplacement>2</iconplacement>
<icontype>0</icontype>
<column>
<name>HREF</name>
<prop>DAV:href</prop>
<checkbox>1</checkbox>
</column>
<column>
<heading></heading>
<prop>urn:schemas:httpmail:subject</prop>
<type>string</type>
<width>0</width>
<style>padding-left:3px;text-align:left</style>
<userheading></userheading>
</column>
<column>
<heading></heading>
<prop>http://schemas.microsoft.com/mapi/proptag/0x0fff0102</prop>
<width>0</width>
<style>padding-left:3px;text-align:left</style>
<userheading></userheading>
</column>
<orderby>
<order>
<heading></heading>
<prop>urn:schemas:httpmail:subject</prop>
<type>string</type>
<userheading></userheading>
<sort>asc</sort>
</order>
</orderby>
<groupbydefault>2</groupbydefault>
<previewpane>
<markasread>0</markasread>
<aligntobottom>0</aligntobottom>
<previewwidth>0</previewwidth>
<previewheight>500</previewheight>
</previewpane>
</view>
Table 6. Icon view property values
| XML view property | Default value |
| ReadOnly | False |
| Sorted | True |
| IconPlacement | N/A |
| IconType | N/A |
Listing 5. Default Timeline view schema
<?xml version="1.0"?>
<view type="timeline">
<viewname>Default TimelineView Schema</viewname>
<viewstyle>table-layout:fixed;width:100%;font-family:Tahoma;
font-style:normal;font-weight:normal;font-size:8pt;color:Black</viewstyle>
<viewtime>210432859</viewtime>
<zoomlevel>1</zoomlevel>
<maxlabelwidth>80</maxlabelwidth>
<collapsestate></collapsestate>
<daystyle>font-size:16pt</daystyle>
<column>
<name>HREF</name>
<prop>DAV:href</prop>
<checkbox>1</checkbox>
</column>
<column>
<heading>Subject</heading>
<prop>urn:schemas:httpmail:subject</prop>
<type>string</type>
<width>0</width>
<style>padding-left:3px;text-align:left</style>
</column>
<column>
<heading>Sent</heading>
<prop>urn:schemas:httpmail:date</prop>
<type>datetime</type>
<width>0</width>
<style>padding-left:3px;text-align:left</style>
<format>M/d/yyyy||h:mm tt</format>
<displayformat>2</displayformat>
</column>
<column>
<heading>Received</heading>
<prop>urn:schemas:httpmail:datereceived</prop>
<type>datetime</type>
<width>0</width>
<style>padding-left:3px;text-align:left</style>
<format>M/d/yyyy||h:mm tt</format>
<displayformat>2</displayformat>
</column>
<column>
<heading>Icon</heading>
<prop>http://schemas.microsoft.com/mapi/proptag/0x0fff0102</prop>
<width>0</width>
<style>padding-left:3px;text-align:center</style>
</column>
<orderby>
<order>
<heading>Received</heading>
<prop>urn:schemas:httpmail:datereceived</prop>
<type>datetime</type>
<sort>asc</sort>
</order>
</orderby>
<groupbydefault>2</groupbydefault>
<previewpane>
<previewwidth>0</previewwidth>
<previewheight>0</previewheight>
</previewpane>
</view>
Table 7. Timeline View property information
| XML view property | Default value |
| ZoomLevel | N/A |
| MaxLabelWidth | N/A |
| MonthShowLabels | False |
| ShowWeekNumbers | False |
| CollapseState | N/A |
| DayStyle | N/A |
| WeekStyle | N/A |
| MonthStyle | N/A |