ServicePRO SDK Help

ObjectDesignerManager..::..BatchUpdateUDF Method

Update multiple user defined fields.

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void BatchUpdateUDF(
	string userSessionKey,
	ref Dictionary<string, stcMetaDataTableBatch> colType,
	ref Dictionary<string, stcMetaDataGroupBatch> colTab,
	ref Dictionary<string, stcMetaDataFieldBatch> colField,
	bool bCommit,
	DateTime datSchedule,
	bool bStartTransaction,
	Dictionary<string, PredefinedUserObject> xmlTabsAndFieldsCollection,
	ref Dictionary<string, byte[]> bufferCollection,
	string ratingSurveyConfiguration,
	Action<Dictionary<string, stcMetaDataTableBatch>, Dictionary<string, stcMetaDataGroupBatch>, Dictionary<string, stcMetaDataFieldBatch>, int, Dictionary<string, byte[]>, bool, bool, ObservableCollection<stcRatingSurveyConfig>, Exception> callbackAction
)
Public Sub BatchUpdateUDF ( _
	userSessionKey As String, _
	ByRef colType As Dictionary(Of String, stcMetaDataTableBatch), _
	ByRef colTab As Dictionary(Of String, stcMetaDataGroupBatch), _
	ByRef colField As Dictionary(Of String, stcMetaDataFieldBatch), _
	bCommit As Boolean, _
	datSchedule As DateTime, _
	bStartTransaction As Boolean, _
	xmlTabsAndFieldsCollection As Dictionary(Of String, PredefinedUserObject), _
	ByRef bufferCollection As Dictionary(Of String, Byte()), _
	ratingSurveyConfiguration As String, _
	callbackAction As Action(Of Dictionary(Of String, stcMetaDataTableBatch), Dictionary(Of String, stcMetaDataGroupBatch), Dictionary(Of String, stcMetaDataFieldBatch), Integer, Dictionary(Of String, Byte()), Boolean, Boolean, ObservableCollection(Of stcRatingSurveyConfig), Exception) _
)

Parameters

userSessionKey
Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
colType
Type: Dictionary<(Of <(<'String, stcMetaDataTableBatch>)>)>%
Collection of type.
colTab
Type: Dictionary<(Of <(<'String, stcMetaDataGroupBatch>)>)>%
Collection of tab.
colField
Type: Dictionary<(Of <(<'String, stcMetaDataFieldBatch>)>)>%
Collection of field.
bCommit
Type: Boolean
set to true if commit the transaction.
datSchedule
Type: DateTime
The date scheduled to run.(obsolete)
bStartTransaction
Type: Boolean
if set to true [b start transaction].(obsolete)
xmlTabsAndFieldsCollection
Type: Dictionary<(Of <(<'String, PredefinedUserObject>)>)>
The collection of XML tabs and fields which need to save.
bufferCollection
Type: Dictionary<(Of <(<'String, array<Byte>[]()[][]>)>)>%
The buffer for saving XML tabs and fields.
ratingSurveyConfiguration
Type: String
The rating survey configuration.
callbackAction
Type: Action<(Of <(<'Dictionary<(Of <(<'String, stcMetaDataTableBatch>)>)>, Dictionary<(Of <(<'String, stcMetaDataGroupBatch>)>)>, Dictionary<(Of <(<'String, stcMetaDataFieldBatch>)>)>, Int32, Dictionary<(Of <(<'String, array<Byte>[]()[][]>)>)>, Boolean, Boolean, ObservableCollection<(Of <(<'stcRatingSurveyConfig>)>)>, Exception>)>)>
The callback action.(contains result collections if success.)