DMConfig_AttachFieldToClass

Description

This activity allows to add an already existig AdditionalField to an already existing ClassType. If the specified AdditionalField is already attached to the specified class it will be ignored and no exceptions will be thrown.


Class

ClassTypeExternalId InArgument<String>

The ExternalId of the ClassType to add the field(s) to.

ClassTypeId InArgument<Int32>

The Id of the ClassType to add the field(s) to.


DocsMarshal Connection

Orchestrator InArgument<IManager>

The orchestrator object represents the connection to a DocsMarshal installation.

If this argument is left null the activity will work on the running installation. To work on another installation you must get its orchestrator by the activity DatabaseOrchestrator.

Field

FieldExternalId InArgument<String>

The ExternalId of the single AdditionalField to be added to the specified class. If single FieldExternalId and multiple FieldExternalIds have both a value both parameters will be considered and merged in an unique list of FieldIds. FieldIds and FieldExternalIds will be also merged together to build an unique list of field to be added to the specified class.

FieldExternalIds InArgument<List<String>>

A list of ExternalIds to add multiple AdditionalFields to the specified class. If single FieldExternalId and multiple FieldExternalIds have both a value both parameters will be considered and merged in an unique list of FieldIds. FieldIds and FieldExternalIds will be also merged together to build an unique list of field to be added to the specified class.

FieldId InArgument<Int32>

The Id of the single AdditionalField to be added to the specified class. If single FieldId and multiple FiledIds have both a value both parameters will be considered and merged in an unique list of FieldIds. FieldIds and FieldExternalIds will be also merged together to build an unique list of field to be added to the specified class.

FieldIds InArgument<List<Int32>>

A list of Ids to add multiple AdditionalFields to the specified class. If single FieldId and multiple FiledIds have both a value both parameters will be considered and merged in an unique list of FieldIds. FieldIds and FieldExternalIds will be also merged together to build an unique list of field to be added to the specified class.