SPView.MobileSimpleViewField Property

Gets or sets the name of the field that appears in the simple mobile view of the list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

public string MobileSimpleViewField { get; set; }

Property Value

Type: System.String
The name of a field.

There are two versions of a list view for mobile devices: simple and detailed. The simple version shows only one field from each list item. The MobileSimpleViewField property specifies which field is used when the default field is not being used. The default is the first mobile-capable field in the view, usually this is the “Title” field. To check whether a field is mobile-capable, call SPMobileUtility.IsViewFieldExcluded(SPField). If the property has never been set, it returns an empty string and the default is used.

There is no CAML equivalent for this property.

Show: