Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
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
Parent elements
Occurrences
- Minimum: 0
- Maximum: 1
Example
The following example provides descriptive text and sets the default value of the FavoriteColor field to black.
<Field Type="Text" Name="FavoriteColor">
<Description>Enter your favorite color here. If you don't have a
favorite color, enter "Black".
</Description>
<Default>Black</Default>
</Field>