DataMappingViewFields property
Collapse the table of content
Expand the table of content

ContentByQueryWebPart.DataMappingViewFields property

Gets or sets the view fields for data mapping.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

public string DataMappingViewFields { get; set; }

Property value

Type: System.String
Returns String.

A string that represents the fields that are requested by data mapping when retrieving data. The fields can be either "internalName" or "GUID", and they are separated by semicolons. You can specify the field types using a comma after the "internalName" or the "GUID" of the field.

© 2016 Microsoft