Expand Minimize
0 out of 1 rated this helpful - Rate this topic

ContentByQueryWebPart.CommonViewFields property

Gets or sets the CommonViewFields property for this ContentByQueryWebPart object.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public string CommonViewFields { get; set; }

Property value

Type: System.String
Additional fields for use by the ContentQueryWebPart object.

CommonViewFields are additional fields that you can request when retrieving data. You can format the fields as either "internalName" or "Guid", separated by semicolons. You can specify the field types by placing a comma after the internal name or the GUID.

An example of CommonViewFields property format:

"Title,Text;ID,Counter;Editor,User."

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.