Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

2.2.6 View Definitions

The client and server MAY<15> store view settings as view definitions. The format of the view definitions, as well as which settings are included, is specified in sections 2.2.6.1 through 2.2.6.2.

View definitions can be created by the client to make view settings available to the server. These settings consist of column descriptions, including column header names and sizes, groupings, sort orders (3), and an optional restriction (1). The data is stored in several stream (2) properties in an FAI message.

A message that contains view definitions MUST be an FAI message in the folder where the view is used. The message MUST have the following properties set on it, and the value of each property MUST meet the following criteria:

The message has the PidTagMessageClass property ([MS-OXCMSG] section 2.2.1.3) set and the value of the property is "IPM.Microsoft.FolderDesign.NamedView".

The message has the PidTagViewDescriptorVersion property ([MS-OXPROPS] section 2.1046) set and the value of the property is 0x00000008.

The message has the PidTagViewDescriptorName property ([MS-OXPROPS] section 2.1044) set and the value of the property is a non-empty string.

The view definitions MUST be stored as a binary stream (2) in the PidTagViewDescriptorBinary property (section 2.2.6.1) of the message. The column headers are stored in the PidTagViewDescriptorStrings property (section 2.2.6.2) on the message as strings using the current code page of the client. Section 2.2.6.1 and section 2.2.6.2 specify the packet format of these two properties respectively.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.