ManageObjectsServicesManager..::..SaveCategoryFromNewCategory Method
Saves the category from new category.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public void SaveCategoryFromNewCategory( string sessionKey, stcProblemType sProblemType, int pgMode, string sPath, int parentCatId, int foldId, stcUserFieldsTableValue[] theUDFValues, ObservableCollection<stcAttachment> attach, ObservableCollection<stcAttachmentFolder> attachFold, Action<bool, stcCategory, stcProblemType, Exception> callbackAction )
Public Sub SaveCategoryFromNewCategory ( _ sessionKey As String, _ sProblemType As stcProblemType, _ pgMode As Integer, _ sPath As String, _ parentCatId As Integer, _ foldId As Integer, _ theUDFValues As stcUserFieldsTableValue(), _ attach As ObservableCollection(Of stcAttachment), _ attachFold As ObservableCollection(Of stcAttachmentFolder), _ callbackAction As Action(Of Boolean, stcCategory, stcProblemType, Exception) _ )
Parameters
- sessionKey
- 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.
- sProblemType
- Type: HelpSTAR.PCL.Common..::..stcProblemType
Type of Category.
- pgMode
- Type: Int32
The page mode.(1; 2 or 3)
- sPath
- Type: String
The category path.
- parentCatId
- Type: Int32
The parent category identifier.
- foldId
- Type: Int32
The folder identifier.
- theUDFValues
- Type: array<stcUserFieldsTableValue>[]()[][]
Collection of user defined values.
- attach
- Type: ObservableCollection<(Of <(<'stcAttachment>)>)>
Collection of attachments.
- attachFold
- Type: ObservableCollection<(Of <(<'stcAttachmentFolder>)>)>
The attachment folder.
- callbackAction
- Type: Action<(Of <(<'Boolean, stcCategory, stcProblemType, Exception>)>)>
The callback action.