Coercion Element (WorkflowInfo)

Last modified: July 15, 2011

Applies to: SharePoint Foundation 2013 | SharePoint Server 2013

In this article
Attributes
Child Elements
Parent Elements

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


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

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.

Show: