ServicePRO SDK Help

ObjectDesignerManager..::..GetDBLookUpDefaultItem Method

Gets value for DB Lookup fields in case Custom Editor

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

Syntax


public void GetDBLookUpDefaultItem(
	string userSessionKey,
	stcMetaDataRelation aRelation,
	int aSelectedItemId,
	string fieldIdentifier,
	Action<stcListItem, string, Exception> callbackAction
)
Public Sub GetDBLookUpDefaultItem ( _
	userSessionKey As String, _
	aRelation As stcMetaDataRelation, _
	aSelectedItemId As Integer, _
	fieldIdentifier As String, _
	callbackAction As Action(Of stcListItem, String, 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.
aRelation
Type: HelpSTAR.PCL.Common..::..stcMetaDataRelation
Relation data.
aSelectedItemId
Type: Int32
Selected item identifier.
fieldIdentifier
Type: String
The field identifier.
callbackAction
Type: Action<(Of <(<'stcListItem, String, Exception>)>)>
The callback action.