Post

SharePoint: How to apply ViewStyle in schema.xml

When you are customizing a SharePoint list with a custom schema.xml file, you may also want to set the ViewStyle for your View.

You do that by adding a element within the element. For exampl ID 17 corresponds to the "Shaded" view style.

Here’s a table with the common ViewStyles available, as defined in the <12 HIVE>\TEMPLATE\GLOBAL\XML\VWStyles.xml

0Basic Table
12Boxed, no labels
13Boxed
15Newsletter
16Newsletter, no lines
17Shaded
20Preview Pane
0Default
This post is licensed under CC BY 4.0 by the author.