ServicePRO SDK Help

ObjectDesignerManager..::..GetMappedFieldValues Method

Gets the mapped field values for the list of view-only reference fields Information passed.

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

Syntax


public void GetMappedFieldValues(
	string userSessionKey,
	clsEnumeration..::..hsmdObject hsmdObject,
	int BaseObjectID,
	ObservableCollection<stcListItem> MappedDataToFetch,
	Action<ObservableCollection<stcListItem>, Exception> callbackAction
)
Public Sub GetMappedFieldValues ( _
	userSessionKey As String, _
	hsmdObject As clsEnumeration..::..hsmdObject, _
	BaseObjectID As Integer, _
	MappedDataToFetch As ObservableCollection(Of stcListItem), _
	callbackAction As Action(Of ObservableCollection(Of stcListItem), 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.
hsmdObject
Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsmdObject
Type HelpSTAR object type.
BaseObjectID
Type: Int32
Base Object identifier [Like RequestID, UserID, CompanyID, AssetID etc.,].
MappedDataToFetch
Type: ObservableCollection<(Of <(<'stcListItem>)>)>
Collection containing stcListItem objects with identifier = Field identifier, Name = Field Identifier/Field Name, Data = Relation object, Tag = FirstRelatedID.
callbackAction
Type: Action<(Of <(<'ObservableCollection<(Of <(<'stcListItem>)>)>, Exception>)>)>
The callback action.