id stringlengths 14 16 | text stringlengths 2 3.14k | source stringlengths 45 175 |
|---|---|---|
7ce26be2f8ab-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Top-level element that contains the definition of a list.
<List
BaseType = "Integer" | "Text"
Default = "TRUE" | "FALSE"
DefaultItemOpen = "Integer"
Description = "Text"
Direction = "Text"
DisableAttac... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/list-element-list |
7ce26be2f8ab-1 | Attribute
Description
BaseType
Optional Text . The BaseType attribute can be set to Integer , which stores values as integers, or to Text (default), which stores values as text. Note that it is not possible to create integer base-type choice fields.
Default
Optional Boolean . TRUE t... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/list-element-list |
7ce26be2f8ab-2 | EnableContentTypes
Optional Boolean . TRUE to enable management of content types in lists created through the list definition.
EnableMinorVersions
Optional Boolean .
EnableThumbnails
Optional Boolean . TRUE to specify that document parsers in this list generate thumbnail files that co... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/list-element-list |
7ce26be2f8ab-3 | ModerationType
Optional Boolean . TRUE to specify that the list has moderation enabled, requiring an approval process when content is created or modified.
Name
Required Text . The internal name of a list.
OrderedList
Optional Boolean . TRUE to specify that the option to allow users to... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/list-element-list |
7ce26be2f8ab-4 | Type
Optional Integer . Specifies the list template type of the list. The following values are the default list template types. 100 Generic list 101 Document library 102 Survey 103 Links list 104 Announcements list 105 Contacts list 106 Events list 107 Tasks list 108 Discus... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/list-element-list |
7ce26be2f8ab-5 | VersioningEnabled
Optional Boolean . TRUE to specify within a Schema.xml file that versioning be enabled by default for document libraries created through the list definition. Setting this attribute has no effect on existing document libraries. If TRUE , versioning can still be disabled for a document library... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/list-element-list |
71f5956349b0-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains the definition of a Group By Header section in a view of a list.
<GroupByHeader>
</GroupByHeader>
Note
Most standard Microsoft SharePoint Foundation 2010 list views ignore this element. For more in... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/groupbyheader-element-list |
71f5956349b0-1 | <HTML><![CDATA[><a href="javascript:"
onclick="javascript:ExpCollGroup(']]></HTML>
<GetVar Name="GroupByLevelString"/>
<HTML><![CDATA[','img_]]></HTML>
<GetVar Name="GroupByLevelString"/>
<HTML><![CDATA[');return false;"><img id="img_]]></HTML>
<GetVar Name="GroupByLevelString"/>
<HTML><![CDATA[" src="/... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/groupbyheader-element-list |
1deadba83390-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains the definition of a Group By Footer section in a view of a list.
<GroupByFooter>
</GroupByFooter>
Note
Most standard Microsoft SharePoint Foundation 2010 list views ignore this element. For more in... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/groupbyfooter-element-list |
1deadba83390-1 | <GetVar Name="GroupByLevelString"/>
<HTML><![CDATA[');</SCRIPT>]]></HTML>
</Case>
<Default/>
</Switch>
</GroupByFooter>
See also
List Views
XMLDefinition and CAML View Schema | https://learn.microsoft.com/en-us/sharepoint/dev/schema/groupbyfooter-element-list |
23653282c313-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains the display names of formulas used within a list field.
<FormulaDisplayNames>
</FormulaDisplayNames>
Elements and attributes
The following sections describe attributes, child elements, and parent ele... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/formuladisplaynames-element-list |
04b52f74413d-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains a formula used in the definition of a field.
<Formula>
</Formula>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child ... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/formula-element-list |
1f8995bef0de-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains the collection of forms in a list definition or in a base list type of a site definition.
<Forms>
<Form
Default = "TRUE" | "FALSE"
Path = "Text"
SetupPath = "Text"
Temp... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/forms-element-list |
6407b9cde995-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Describes the forms in a base list type.
<Form Default = "TRUE" | "FALSE" MobileUrl = "Text"
Path = "Text"
SetupPath = "Text"
Template = "Text"
Type = "DisplayForm" | "EditForm" | "NewForm"
Url = "URL"... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/form-element-list |
6407b9cde995-1 | MobileUrl
Optional Text .
Path
Optional Text . Specifies the file system path, including the leaf name, of the file containing the template used for the list of document libraries that is rendered in a file dialog box. The value of this attribute is relative to the _layouts directory and does not st... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/form-element-list |
6407b9cde995-2 | Child elements
ListFormBody
ListFormButtons
ListFormClosing
ListFormOpening
WebParts
Parent elements
Forms
Occurrences
Minimum: 0
Maximum: Unbounded
Example
The following example shows the form definitions that are specified in the Schema.xml file for Announcements lists.
<Forms>... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/form-element-list |
c316d98f36e3-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies the relative folder path for the content type's resource folder.
<Folder
TargetName="Text">
</Folder>
Elements and attributes
The following sections describe attributes, child elements, and parent... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/folder-element-list |
4ed48bb1add1-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
<Filter Name="Text" Type="Text" Value="Text" ></Filter>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute
Description
... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/filter-element-list |
b8ef2510ca82-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains field definitions for a list definition within a Schema.xml file, or for a base list type within the global Onet.xml file, specifying the fields that are implemented in a list.
<Fields Revision = "In... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/fields-element-list |
b8ef2510ca82-1 | <CHOICE>Waiting on someone else</CHOICE>
</CHOICES>
<Default>Not Started</Default>
</Field>
<Field Type="Number" Name="PercentComplete" Percentage="TRUE"
Min="0" Max="1" DisplayName="% Complete"></Field>
<Field Type="User" List="UserInfo" Name="AssignedTo"
DisplayName="Assigned To... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/fields-element-list |
6b7519c67445-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains a collection of FieldRef elements that specifiy field references for a field.
<FieldRefs>
<FieldRef></FieldRef>
<FieldRef></FieldRef>
...
</FieldRefs>
Attributes
None
Child elements
Fie... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/fieldrefs-element-list |
efdbad73eed8-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Returns a reference to a field.
<FieldRef
Name = "Text"
Type = "Text">
</FieldRef>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/fieldref-element-list |
c340d8cbec98-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Defines the internal data types used in the list infrastructure of a SharePoint website. A field is a column or attribute of information that a user can add to a list.
<Field
Aggregation = "sum" | "count" | "ave... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-1 | Filterable = "TRUE" | "FALSE"
FilterableNoRecurrence = "TRUE" | "FALSE"
ForcedDisplay = "Text"
ForcePromoteDemote = "TRUE" | "FALSE"
Format = "Text"
FromBaseType = "TRUE" | "FALSE"
Group = "Text"
HeaderImage = "Text"
Height = "Integer"
Hidden = "TRUE" | "FALSE"
HTMLEncode = "TRUE" | "FALSE"
ID = "... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-2 | PrependId = "TRUE" | "FALSE"
Presence = "TRUE" | "FALSE"
PrimaryKey = "TRUE" | "FALSE"
PrimaryPIAttribute = "Text"
PrimaryPITarget = "Text"
ReadOnly = "TRUE" | "FALSE"
ReadOnlyEnforced = "TRUE" | "FALSE"
RelationshipDeleteBehavior = "Text"
RenderXMLUsingPattern = "TRUE" | "FALSE"
Required = "TRUE" | "... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-3 | SuppressNameDisplay = "TRUE" | "FALSE"
TextOnly = "TRUE" | "FALSE"
Title = "Text"
Type = "Data_Type"
UniqueId = "Text"
UnlimitedLengthInDocumentLibrary = "TRUE" | "FALSE"
URLEncode = "TRUE" | "FALSE"
URLEncodeAsUrl = "TRUE" | "FALSE"
UserSelectionMode = "Text"
UserSelectionScope = "Integer"
Version ... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-4 | Attribute
Description
Aggregation
Optional Text . Used in an aggregate field on an XML form to specify the function to apply to a collection of values or elements returned by an XPath expression. If you use the Node attribute to specify an XPath expression that returns a collection of values, you can... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-5 | AppendOnly
Optional Boolean . When versioning is enabled in the list, TRUE if text can only be appended to existing text in the Note field.
AuthoringInfo
Optional Text . A descriptive string that is displayed in the field editing pages to identify the field and its purpose; for example, the LinkT... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-6 | ColName
Optional Text . An internal attribute that defines the mapping of the field to the physical storage name for this field. This must be a valid name in the underlying database and must be identical to the name used in the database table. If not specified, the server generates a column name that does not coll... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-7 | DisplayName
Optional Text . The displayed name for a field. There is no restriction on text size or use of spaces. The display name can be edited by the user and can change after initial field creation. This name is used as a column heading when the field is displayed in a table view and as a form label when the f... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-8 | Optional Boolean . TRUE if the field can be filtered.
FilterableNoRecurrence
Optional Boolean . TRUE if a filter can be created on the field in a view that does not expand recurring events. If Filterable contains TRUE , the field can be filtered in all views regardless of how FilterableNoRecurrenc... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-9 | ForcePromoteDemote
Optional Boolean .
Format
Optional Text . Specifies the formatting to use for numerical values. For date/time fields, the following values are possible: - DateOnly Display (and allow edits to) only the date portion (the time portion is set to 12:00 A.M. for all edited values). ... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-10 | Height
Optional Integer . Specifies the height in pixels of the images that are displayed for users in the User Information list.
Hidden
Optional Boolean . If TRUE , the field is completely hidden from the user interface. Setting ReadOnly to TRUE means the field is not displayed in New or Edit fo... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-11 | IsolateStyles
Optional Boolean . For a Text field whose RichText attribute is TRUE and whose RichTextMode attribute is FullHtml , this attribute specifies that a server will rewrite the HTML of the field to ensure that it will not interfere with the rendering of the surrounding page.
IsRelationshi... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-12 | LCID
Optional Integer . The LCID attribute can be used to specify the country/region whose currency format is being used, for example, 1033 for the United States. Two special cases involve the euro symbol format. If LCID = -1 (0xFFFFFFF), the euro symbol is added as a prefix to the number. If LCID = -2 (0xFFFFFF... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-13 | Name
Required Text . The name of a field. This is the internal name of a field and is guaranteed never to change for the lifetime of the field definition. It must be unique with respect to the set of fields in a list. The name is autogenerated based on the user-defined name for a field.
NegativeFormat
... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-14 | PIAttribute
Optional Text . Specifies the attribute in the document processing instruction (specified by the PITarget attribute) to use as the column value. Used for property promotion and demotion in XML documents. If you specify the PIAttribute attribute, you must also specify the PITarget attribute. For m... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-15 | PrimaryPIAttribute
Optional Text . Used for property promotion and demotion in XML documents. Specifies an alternate attribute in the document processing instruction, specified by the PrimaryPITarget , to use as the column value. If you specify the PrimaryPIAttribute attribute, you must also specify the Primar... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-16 | ReadOnlyEnforced
Optional Boolean . TRUE to specify that the user cannot change the field by any means and that it can only be changed by the system.
RelationshipDeleteBehavior
Optional Text . Specifies the delete behavior of the field. Possible values include Cascade , Restrict and None .
... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-17 | RichText
Optional Boolean . TRUE if the field displays rich text formatting.
RowOrdinal
Optional Integer . Specifies the database location for the field.
Sealed
Optional Boolean . Setting this attribute to TRUE for a field in the Schema.xml file for a list marks the field as irremov... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-18 | ShowInFileDlg
Optional Boolean . This attribute is valid only for fields within document library schemas. If FALSE , the field does not show up in the property dialog box for saving forms that appears when saving from client applications. For example, the Title field has this attribute because this is set directl... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-19 | StorageTZ
Specifies how date/time values are stored. When StorageTZ is set to UTC , the date/time is handled as Coordinated Universal Time (UTC). To denote that a date/time value refers to "abstract" time, meaning that the date/time is stored in the database as entered by the user without conversion or storage o... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-20 | Required Text . The data type of the field (unless the Field element is a child of ProjectedFields ). NOTE : In the Technology Preview release of Microsoft SharePoint Foundation 2010, the Type attribute has a different meaning and only one possible value ("Lookup") when it is a child of ProjectedFields . For mor... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-21 | order in which choices appear in the editing UI is always the order that items are specified within the CHOICES element. Use the MultiChoice type to specify a Choice field that implements check boxes and allows the user to select multiple values. Corresponds to the nvarchar SQL data type and is represented by t... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-22 | used for currency types. This field is sortable and groupable. Corresponds to the float SQL data type and is represented by the SPFieldCurrency class. - DateTime Allows for storage of a fully qualified date or time of day. Use the Format attribute to specify date formatting, and use the StorageTZ attribute to... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-23 | the int SQL data type and is represented by the SPFieldLookup class. - LookupMulti A Lookup field that can contain more than one value. Parent type: Lookup . - ModStat Contains content approval status. Possible values include Approved (default), Rejected , and Pending (stored in the database as 0, 1, ... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-24 | negative symbol. The following attributes can be used in conjunction with the Number attribute to specify number formatting: Decimals , Div , Max , Min , Mult , and Percentage . Corresponds to the float SQL data type and is represented by the SPFieldNumber class. - PageSeparator Inserts a page break in a ... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-25 | given, it is displayed as <A HREF="URL">URL</A> . The URL text is itself stored in the URLs (DocMd) table, which stores all the URLs in SharePoint databases on the server. This is done so that any URLs that are local on the server can be updated through link fixup when their destination moves. When a record with a URL... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-26 | UniqueId
Optional Text . Not intended to be used directly from your code.
UnlimitedLengthInDocumentLibrary
Optional Boolean . TRUE to allow unlimited field length in document libraries.
URLEncode
Optional Boolean . TRUE to convert special characters, such as spaces, to quoted UTF-8 fo... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-27 | WebId
Optional Text .
Width
Optional Integer . Specifies the width in pixels of the images that are displayed for users in the User Information list.
WikiLinking
Optional Boolean . TRUE to specify that wiki links, which appear in the form of double brackets ( [[…]] ), become translated ... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-28 | To create a custom field type that implements a custom class for special data validation and field rendering, use the Field (Field Types) element.
Fields can be referenced from View definitions as well as from expressions in computed field rendering elements. Use the Field (View) element to return a formatted f... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-29 | CreatedBy
A field that contains a Lookup value that refers to the UserInfo table and indicates the user who created the item.
Edit
A Computed field (with no additional schema) that contains a hyperlink to the form for editing an item. This field references the page for editing the item and the ID fiel... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-30 | LinkTitle
A computed field that displays hyperlinks to items, containing the title texts and generating URLs (and new icon references) to the items. There is no additional storage for this field; it relies on the ID and Title fields for rendering of its UI.
Note
The fields returned in a Fields enume... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
c340d8cbec98-31 | </Field>
See also
Column element (View)
Column2 element (View)
Field element (Field)
Field element (View)
Field element (Site)
Field element (Field Types)
Field element (Field Types Property Schema)
Field element (DeploymentManifest - DeploymentFieldTemplate)
Field element (DeploymentManifest - F... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/field-element-list |
1b62661aef18-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Used in the wire protocol that the server uses to export list metadata to the SharePoint Designer client. This element specifies which file serves as the template document for a document library.
<DocumentLibraryT... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/documentlibrarytemplate-element-list |
86cd48f291ab-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Used in computed fields to define how the field is rendered. The DisplayPattern section in the declaration for a computed field describes how the constituent fields are combined to form the computed field. For exa... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/displaypattern-element-list |
86cd48f291ab-1 | <HTML><![CDATA[<a href="form.htm?ID="]]></HTML>
<Column Name="ID"/>
<HTML><![CDATA[">]]></HTML>
<Column Name="Title"/>
<HTML><![CDATA[</a>]]></HTML>
</DisplayPattern>
</Field> | https://learn.microsoft.com/en-us/sharepoint/dev/schema/displaypattern-element-list |
ed39213bb8b0-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies the display pattern to use for a column that supports bidirectional reading order.
<DisplayBidiPattern>
</DisplayBidiPattern>
Elements and attributes
The following sections describe attributes, chil... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/displaybidipattern-element-list |
ed39213bb8b0-1 | </IfNew>
<HTML><![CDATA[</p>]]></HTML>
</DisplayBidiPattern> | https://learn.microsoft.com/en-us/sharepoint/dev/schema/displaybidipattern-element-list |
f8763b652f23-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains the default value for a field that has a formula.
<DefaultFormulaValue>
</DefaultFormulaValue>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/defaultformulavalue-element-list |
f2d1368b1ff9-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains the default formula used for a field.
<DefaultFormula>
</DefaultFormula>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/defaultformula-element-list |
508f39416d9d-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Sets the default description that appears in the title area of list views and on the Documents and Lists page in Microsoft SharePoint Foundation.
<DefaultDescription>
</DefaultDescription>
Elements and attrib... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/defaultdescription-element-list |
875a790925cf-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains the default form definitions used in lists created through the list definition.
<Default>
<Forms>
...
</Forms>
</Default>
Elements and attributes
The following sections describe attributes,... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/default-element-listform |
9d0670c9f76c-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Sets the default value for a field.
<Default>
</Default>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
None
... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/default-element-listfield |
f86e8020d823-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
<Customization><ArrayOfProperty
</Customization>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
None
Child elements
ArrayOfProperty... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/customization-element-list |
33a07e0e72c6-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains references to content types to associate with lists that are created through the list definition.
<ContentTypes>
</ContentTypes>
Elements and attributes
The following sections describe attributes, ch... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/contenttypes-element-list |
dff08b1374bc-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies a reference to a content type to associate with lists that are created through the list definition.
<ContentTypeRef
ID = "Text">
</ContentTypeRef>
Elements and attributes
The following sections de... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/contenttyperef-element-list |
f9913c3adbd7-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Used to define several choices within a field for a drop-down list.
<CHOICES>
<CHOICE
Value = "Text">
</CHOICE>
<CHOICE
Value = "Text">
</CHOICE>
...
</CHOICES>
Elements and attributes
The f... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/choices-element-list |
ee16006bddd2-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Used to define a choice within a Choice field.
<CHOICES>
<CHOICE
Value = "Text">
</CHOICE>
<CHOICE
Value = "Text">
</CHOICE>
...
</CHOICES>
Elements and attributes
The following sections d... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/choice-element-list |
db5d0b2edaaa-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
<Customization> <ArrayOfProperty> <Property> </Property> </ArrayOfProperty>
</Customization>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
At... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/arrayofproperty-element-list |
21c309125d28-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains a web part in a form definition for list.
<AllUsersWebPart WebPartOrder = Integer WebPartZoneID = "Text"> <![CDATA[...]]></AllUsersWebPart>
Elements and attributes
The following sections describ... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/alluserswebpart-element-list |
db361ac111dc-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains field references for totals columns or calculated columns; in other words, for fields to which a function is applied.
<Aggregations
Value = "Text">
<FieldRef />
...
</Aggregations>
Elements and a... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/aggregations-element-list |
7c15a104da8f-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Used inside a <TABLE> tag surrounding a view to add attributes that assist the agents that are processing Web queries in extracting data from views.
<WebQueryInfo>
</WebQueryInfo>
Elements and attributes
Th... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/webqueryinfo-element-view |
7c15a104da8f-1 | <![CDATA[ </TH> ]]>
</HTML>
</Fields>
<HTML>
<![CDATA[ </FORM></TR> ]]>
</HTML>
</ViewHeader> | https://learn.microsoft.com/en-us/sharepoint/dev/schema/webqueryinfo-element-view |
c2fefca63f0e-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains the unique ID number of the currently authenticated user of a site, as defined in the UserInfo table of the content database.
<UserID
AllowAnonymous = "TRUE | FALSE">
</UserID>
Elements and attribute... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/userid-element-view |
292fd70689ca-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies the site-relative URL for the directory that contains a document.
<UrlDirName>
</UrlDirName>
Elements and attributes
The following sections describe attributes, child elements, and parent elements. ... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/urldirname-element-view |
8672e11ba3ac-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Renders the base name of a particular URL.
<UrlBaseName
HTMLEncode = "TRUE" | "FALSE">
</UrlBaseName>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/urlbasename-element-view |
8672e11ba3ac-1 | <Field Name="EncodedAbsUrl" />
</GetFileExtension>
<HTML>.jpg</HTML>
</DisplayPattern>
If the image file has a .jpg extension and is contained in a picture library on a subsite, the example creates a URL in the following form:
http://Server_Name/Subsite_Name/Library_Name/_t/File_Base_Name/_jpg.jpg
See also... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/urlbasename-element-view |
8ee738ef8890-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Renders the URL of a particular form for a specified list.
<URL
Cmd = "Text"
NoID = "TRUE" | "FALSE">
</URL>
Elements and attributes
The following sections describe attributes, child elements, and parent ... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/url-element-view |
8ee738ef8890-1 | <URL Cmd="NEW"/> renders "http:// Server_Name / Site_Name /Lists/Announcements/NewForm.aspx"
<URL Cmd="DISPLAY"/> renders "http:// Server_Name / Site_Name /Lists/Announcements/DispForm.aspx"
See also
UrlBaseName element (View)
UrlDirName element (View) | https://learn.microsoft.com/en-us/sharepoint/dev/schema/url-element-view |
398c22955714-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Obsolete. Renders, in discussion boards, the current server's local time in a specific format (YYYYMMDDHHMMSS) for sorting purposes.
<ThreadStamp
StripWS = "TRUE" | "FALSE">
</ThreadStamp>
Elements and attrib... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/threadstamp-element-view |
398c22955714-1 | <Limit Len="504" StripWS="TRUE">
<GetVar Name="Threading" StripWS="TRUE"/>
<ThreadStamp StripWS="TRUE"/>
</Limit>
<HTML><![CDATA[">]]></HTML>
</RenderPattern> | https://learn.microsoft.com/en-us/sharepoint/dev/schema/threadstamp-element-view |
a2766bd3392f-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains what is rendered in an IfEqual or IfNew element, based on whether the contents of the Expr1 and Expr2 elements are equal or new, respectively.
<Then>
</Then>
Elements and attributes
The follo... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/then-element-view |
761d638e08c3-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Used within the Limit element to demarcate the text that is truncated when the More element is also specified.
<Text>
</Text>
Elements and attributes
The following sections describe attributes, child elem... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/text-element-view |
164d72525782-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Allows for conditional rendering based on the value of a Collaborative Application Markup Language (CAML) expression.
<Switch
StripWS = "TRUE" | "FALSE">
<Expr></Expr>
<Case Value="Value_1"></Case>
<Case V... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/switch-element-view |
164d72525782-1 | This element does not require any particular parent element.
Example
The following example returns "User Zero" if the UserID value equals 0 (zero); otherwise, the example returns "Not User Zero."
<Switch>
<Expr><UserID/></Expr>
<Case Value="0">User Zero</Case>
<Default>Not User Zero</Default>
</Switch>
... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/switch-element-view |
b8c4a2d2a769-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Allows variables to be set in the context of rendering the page—either locally to the current level of XML or globally to the page.
<SetVar
ID = "Text"
Name = "Text"
Scope = "Request"
Value = "Text">
</Set... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/setvar-element-view |
b8c4a2d2a769-1 | The SetVar element is frequently used to change the display mode by setting DisplayMode to one of the following values.
Value
Description
DISPLAY
Used when rendering the ViewBody section of a view.
EDIT
Used when rendering an edit item form.
DISPLAYHEAD
Used when ... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/setvar-element-view |
b8c4a2d2a769-2 | <GetVar Name="myVar"/>
</Sample>
<GetVar Name="myVar"/>
The following example evaluates whether a field is required and, if it is required, creates the red asterisk ( * ) that is displayed beside required fields in New or Edit forms and sets the HasRequired variable to TRUE .
<Switch>
<Expr>
<P... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/setvar-element-view |
212a42681683-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Designates which list is current.
<SetList
Name = "Text"
PreserveContext = "TRUE" | "FALSE"
Scope = "Request">
</SetList>
Elements and attributes
The following sections describe attributes, child elemen... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/setlist-element-view |
212a42681683-1 | Example
The following example returns the value of the Title field from the Lists table in the database if the current list equals the list that is looked up. Initially, the current list is temporarily assigned to a variable Old and then reinstated as the current list.
<SetVar Scope="Request" Name="Old">
<Li... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/setlist-element-view |
7f86021d9021-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Represents a property that applies to a Web application.
<ServerProperty
Default = "Text"
HTMLEncode = "TRUE" | "FALSE"
Name = "Text"
Select = "Text"
ShowField = "TRUE" | "FALSE"
StripWS = "TRUE" | "FA... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/serverproperty-element-view |
7f86021d9021-1 | ShowField
Optional Text . The ShowField attribute can be set to the field name to display. By default, a hyperlinked text from the Title field of the record in the external list is displayed. But the ShowField attribute can be used to override that and display another field from the external list. The follo... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/serverproperty-element-view |
b183c8b035b1-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies options for a drop-down list.
<SelectionOptions
BlankPattern = "Text"
Len = "Integer"
MoreText = "Text">
</SelectionOptions>
Elements and attributes
The following sections describe attributes,... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/selectionoptions-element-view |
b183c8b035b1-1 | For Lookup field types, this element produces the sequence <OPTION VALUE="ID"> Title </OPTION> .
Example
The following example constructs a drop-down list box and uses the SelectOptions element to delineate the options.
<HTML><![CDATA[ <SELECT TITLE=" ]]></HTML>
<Property Select="DisplayName" />
<HTML><!... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/selectionoptions-element-view |
0ee09dad7a67-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Encodes a string to fit within JavaScript code. This element is used to render text from the server that must be interpreted as a quoted string.
<ScriptQuote
NotAddingQuote = "TRUE" | "FALSE">
</ScriptQuote>
... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/scriptquote-element-view |
5ac4879c4765-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Specifies a permission that the current user must have to permit the contents of the Then clause within an IfHasRight element to be displayed.
<RightsGroup
Permission = "Required">
</RightsGroup>
Elemen... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/rightsgroup-element-view |
5ac4879c4765-1 | Create alerts.
PermCreateGroups="Required"
Create, change, and delete groups, including adding users to the groups and specifying which rights are assigned to a group.
PermCreateSSCSite="Required"
Create a website using Self-Service Site Creation.
PermDeleteListItems="Required"
Delet... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/rightsgroup-element-view |
5ac4879c4765-2 | PermOpen="Required"
Open documents.
PermOpenItems="Required"
Open items.
PermUpdatePersonalWebPar="Required"ts
Update web parts to display personalized information.
PermUseRemoteAPIs="Required"
Use the APIs defined through remote applications.
PermViewFormPages="Required"... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/rightsgroup-element-view |
81e94c02e057-0 | Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
Contains specification of the permissions that current users must have in order for the contents of the Then clause within an IfHasRight element to be displayed.
<RightsChoices>
<RightsGroup
Permissi... | https://learn.microsoft.com/en-us/sharepoint/dev/schema/rightschoices-element-view |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.