ServicePRO SDK Help

KnowledgeBaseServiceManager..::..SaveSolution Method

Saves the solution to database.

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

Syntax


public void SaveSolution(
	stcSolution solution,
	bool bNewRevision,
	List<int> relatedSolutions,
	stcUserFieldsTableValue[] theUDFFields,
	string userSessionKey,
	Action<stcSolution, int, Exception> callbackAction
)
Public Sub SaveSolution ( _
	solution As stcSolution, _
	bNewRevision As Boolean, _
	relatedSolutions As List(Of Integer), _
	theUDFFields As stcUserFieldsTableValue(), _
	userSessionKey As String, _
	callbackAction As Action(Of stcSolution, Integer, Exception) _
)

Parameters

solution
Type: HelpSTAR.PCL.Common..::..stcSolution
The solution data.
bNewRevision
Type: Boolean
set to true if creating a new solution.
relatedSolutions
Type: List<(Of <(<'Int32>)>)>
The related solutions.
theUDFFields
Type: array<stcUserFieldsTableValue>[]()[][]
The user defined field information.
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.
callbackAction
Type: Action<(Of <(<'stcSolution, Int32, Exception>)>)>
The callback action.