ConstantParameter element in ActionParameterDefinitions
(SolutionManifestDeclarativeExtensions Schema)
Applies to: SharePoint 2016 | SharePoint Foundation 2013 | SharePoint Online | SharePoint Server 2013
The ConstantParameter element defines a constant parameter for an action.
Namespace: http://schemas.microsoft.com/office/2009/05/BusinessApplications/Manifest/DeclarativeExtensions
Schema: SolutionManifestDeclarativeExtensions
<ConstantParameter ValueType = "String" Value = "String" Name = "String" Description = "String"> </ConstantParameter>
Elements and attributes
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute |
Description |
||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
**ValueType** |
The .NET type name of the parameter to be passed to the method of a code-based action. Must be one of the following:
Required. Attribute type: **String** |
||||||||||||||||
**Value** |
The constant value of the parameter. Required. Attribute type: **String** |
||||||||||||||||
**Name** |
A name for the constant parameter. Required. Attribute type: **String** |
||||||||||||||||
**Description** |
A description for the parameter. Optional. Attribute type: **String** |
Child elements
None.
Parent elements
Element | Description |
---|---|
Parameters element in ActionDefinition (SolutionManifestDeclarativeExtensions Schema) | The Parameters element that contains all the parameters of an action. |