PFExternalDataBinderBindValue Method (PFItem, PFField, Object, PFExternalConnection_Binding_PrincipalType, String) |
Binds a value in the specified field.
Namespace:
Packflow.Core
Assembly:
MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax public PFDataBindResult BindValue(
PFItem item,
PFField field,
Object value,
PFExternalConnection_Binding_PrincipalType userValuePrincipalType = PFExternalConnection_Binding_PrincipalType.Users,
string choiceCustomTargetFieldName = null
)
Parameters
- item
- Type: Packflow.CorePFItem
The item receiving the value. - field
- Type: Packflow.CorePFField
The field. - value
- Type: SystemObject
The value. - userValuePrincipalType (Optional)
- Type: Packflow.CorePFExternalConnection_Binding_PrincipalType
For user fields, specifies
which kind of principals are found in the value (user, group, role).
Default values: users. - choiceCustomTargetFieldName (Optional)
- Type: SystemString
When binding a choice field,
allows to use another field (in the target content) as a key to match target items.
Return Value
Type:
PFDataBindResult
Object containing the final (converted value), the field and a boolean
indicating whether the value has been assigned or not.
Exceptions See Also