views:

76

answers:

2

I'm currently creating some list definition for use in a SharePoint 2010 environment. In these definitions I need to to define a view which enables in-line editing. This is easily accomplished in the UI as well as from code by setting the InLine property of the SPView object to "TRUE", however I can't find any property of the CAML definition of the view to set the property.

I've looked at what Visual Studio supplies in the auto-complete for both attributes of the element and immediate children of the same element and nothing seems to be relevant.

Anyone know if I'm looking in the entirely wrong place, or have any idea where to set this in the schema.xml of the list definition?

A: 

On a Quick Note,In SharePoint 2010 CAML Based view is obsolete. Though CAML based view will work in 2010 it will not be support for the next version of SharePoint. Considering that you are developing new List Definition IMHO I recommand to look in to the XSLT based views and see if you could get your requirement work in the XSLT.

  1. CAML Obsolete & View is based on XSLT
  2. CAML Reference
Kusek
The obsolescence of CAML refers to the View Template, not the definition of of lists via templates nor the definition of other elements of views.
OedipusPrime
A: 

Ended up doing this programmatically in an instance of the list created by an event handler, since we only really needed one instance of this list for our application.

OedipusPrime