Click or drag to resize

FormControllerCloneForms Method

Note: This API is now obsolete.

Creates a number of new forms based on a number of existing forms.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
[ObsoleteAttribute("Obsolete in v14. Use non-static version")]
public static IntIntDictionary CloneForms(
	IntegerList sourceIds,
	int processTemplateId,
	IntIntDictionary activityIdMap,
	out Dictionary<int, FormSectionField> formSectionFieldMap,
	SqlConnection dbConnection,
	SqlTransaction dbTransaction
)

Parameters

sourceIds
Type: IntegerList
Ids of forms to clone
processTemplateId
Type: SystemInt32
If specififed, the form will be attached to this process template
activityIdMap
Type: IntIntDictionary
Must be specified if processTemplateId is specified
formSectionFieldMap
Type: System.Collections.GenericDictionaryInt32, FormSectionField
dbConnection
Type: System.Data.SqlClientSqlConnection
dbTransaction
Type: System.Data.SqlClientSqlTransaction

Return Value

Type: IntIntDictionary
Dictionary where key is the id of the source form and value is the id of the cloned form
See Also