Class RenderListDataOptions
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Options to configure the rendering of list data via the RenderListDataAsStream method of IList See https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest#renderlistdataasstream-body-parameter-properties
public class RenderListDataOptions
- Inheritance
-
RenderListDataOptions
- Inherited Members
Properties
AddRequiredFields
Specifies if required fields should be returned or not
public bool? AddRequiredFields { get; set; }
Property Value
- bool?
AllowMultipleValueFilterForTaxonomyFields
Specifies if multi value filtering is allowed for taxonomy fields or not
public bool? AllowMultipleValueFilterForTaxonomyFields { get; set; }
Property Value
- bool?
AudienceTarget
Audience to use while processing this request
public bool? AudienceTarget { get; set; }
Property Value
- bool?
DatesInUtc
Specifies if we return DateTime field in UTC or local time
public bool? DatesInUtc { get; set; }
Property Value
- bool?
DeferredRender
Use a deferred render?
public bool? DeferredRender { get; set; }
Property Value
- bool?
ExpandGroups
Specifies if the grouping should be expanded or not
public bool? ExpandGroups { get; set; }
Property Value
- bool?
FirstGroupOnly
Specifies if only the first group should be returned or not (regardless of view schema)
public bool? FirstGroupOnly { get; set; }
Property Value
- bool?
FolderServerRelativeUrl
Specifies the url to the folder from which to return items
public string FolderServerRelativeUrl { get; set; }
Property Value
ImageFieldsToTryRewriteToCdnUrls
Comma-separated list of field names whose values should be rewritten to CDN URLs
public string ImageFieldsToTryRewriteToCdnUrls { get; set; }
Property Value
MergeDefaultView
Merge with the default view?
public bool? MergeDefaultView { get; set; }
Property Value
- bool?
OriginalDate
Return the original date?
public bool? OriginalDate { get; set; }
Property Value
- bool?
OverrideViewXml
Specifies the override XML to be combined with the View CAML. Applies only to the Query/Where part of the View CAML
public string OverrideViewXml { get; set; }
Property Value
Paging
Specifies the paging information
public string Paging { get; set; }
Property Value
RenderOptions
Specifies the type of output to return
public RenderListDataOptionsFlags? RenderOptions { get; set; }
Property Value
ReplaceGroup
Specifies if the grouping should be replaced or not to deal with GroupBy throttling
public bool? ReplaceGroup { get; set; }
Property Value
- bool?
ViewXml
Specifies the CAML view XML
public string ViewXml { get; set; }
Property Value
Methods
SetViewXmlFromFields(List<string>)
Populates the needed ViewXml based upon the passed field names
public void SetViewXmlFromFields(List<string> fieldInternalNames)