Coercion Element (WorkflowInfo)

Applies to: SharePoint Foundation 2010

Specifies a coercion for converting data from one form to another.

<Coercions>
    <Coercion>    </Coercion>
</Coercions>

Attributes

Attribute

Description

Name

Required text. The internal name for the coercion.

Assembly

Required text. Specifies the binary file in which the coercion is implemented.

DisplayName

Required text. Specifies the display name of the coercion.

CatchAll

Required Boolean. true to show the coercion in scenarios in which either the DestinationType or the DestinationFieldType allows it, regardless of SourceType or SourceFieldType values. false to show the coercion only in scenarios in which SourceType or SourceFieldType specifies that it should be shown.

RankDefault

Required integer. Specifies a sort value for the list of coercions.

SourceType

Optional text. A class type from which the data is converted. If set, the client shows the coercion only when the previous value is of the matching type unless SourceFieldType or CatchAll specifies otherwise.

SourceFieldType

Optional FieldInternalType. The field type to use to determine whether to show the coercion. If set, the client shows the coercion only when the previous value is of the matching type unless SourceFieldType or CatchAll specifies otherwise.

DestinationType

Required text. The output class type of the coercion value. If the destination cannot handle this type, the coercion is not displayed.

DestinationFieldType

Optional FieldInternalType. The output field type of the coercion. If the destination cannot handle this type, the coercion is not displayed.

ClassName

Optional text. Uniquely identifies the class in the binary file that is specified by the Assembly.

Child Elements

None

Parent Elements

Coercions

See Also

Tasks

.ACTIONS File Example

Concepts

Creating Declarative, No-Code Workflow Editors

Default Workflow Actions

Default Workflow Conditions

WorkflowInfo Schema and WorkflowActions Schema Overview