Class CommonFieldOptions
Available options for adding most of SharePoint fields (Excepted Lookup fields)
Inherited Members
Namespace: PnP.Core.Model.SharePoint
Assembly: PnP.Core.dll
Syntax
public abstract class CommonFieldOptions
Available options for adding most of SharePoint fields (Excepted Lookup fields)
public abstract class CommonFieldOptions
Add this field to the default view
public bool AddToDefaultView { get; set; }
| bool |
Allows you to set custom formatting JSON (https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting#supported-column-types) on the field
public string CustomFormatter { get; set; }
| string |
Sets the default formula of the field
public string DefaultFormula { get; set; }
| string |
Sets the description of the field
public string Description { get; set; }
| string |
Sets whether the field enforces unique values
public bool? EnforceUniqueValues { get; set; }
| bool? |
Sets whether the field is indexed
public bool? Indexed { get; set; }
| bool? |
Set a specific internal name for the field
public string InternalName { get; set; }
| string |
An AddFieldOptionsFlags flag that specifies the field options to be applied during add
public AddFieldOptionsFlags Options { get; set; }
| AddFieldOptionsFlags |
Sets whether the field is required
public bool? Required { get; set; }
| bool? |
Show this field on the list's edit form
public bool? ShowInEditForm { get; set; }
| bool? |
Show this field on the list's new form
public bool? ShowInNewForm { get; set; }
| bool? |
Show this field on the list's view forms
public bool? ShowInViewForms { get; set; }
| bool? |
Sets the validation formula of the field
public string ValidationFormula { get; set; }
| string |
Sets the validation message of the field
public string ValidationMessage { get; set; }
| string |