Click or drag to resize

PFExternalConnection_BindingsAddChoice Method

Adds a new binding targeting a choice field.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public PFExternalConnection_Binding_Choice AddChoice(
	PFField field,
	string targetName,
	string targetId = "",
	PFExternalConnection_BindingSyncType syncType = PFExternalConnection_BindingSyncType.ReadOnly,
	string valueSeparator = ";",
	bool useCache = true,
	string constantValue = null
)

Parameters

field
Type: Packflow.CorePFField
The bound Packflow field.
targetName
Type: SystemString
The name of the target (external) field/column.
targetId (Optional)
Type: SystemString
The id of the target (external) field/column. Optional.
syncType (Optional)
Type: Packflow.CorePFExternalConnection_BindingSyncType
Type of synchronization (from and/or to the external source). Optional.
valueSeparator (Optional)
Type: SystemString
A text separating multiple values (of the external source) of choice or user fields. Optional.
useCache (Optional)
Type: SystemBoolean
Value indicating whether a cache for referenced values can be used during a synchronization.
constantValue (Optional)
Type: SystemString
A value applied on synchronized items, replacing the external data. Optional.

Return Value

Type: PFExternalConnection_Binding_Choice
PFExternalConnection_Binding
See Also