ObjectDesignerManager..::..CheckIfFieldUsedForTypeOrTab Method
Check whether the field is used for specific type or tab.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public void CheckIfFieldUsedForTypeOrTab( string userSessionKey, clsEnumeration..::..hsmdObject selectedCustomObjectType, ref int Tableid, ref int TabId, ObservableCollection<string> aFieldIdentifiers, ObservableCollection<int> typesFetchedBefore, Action<int, int, bool, string, ObservableCollection<stcMetaDataGroupBatch>, ObservableCollection<stcMetaDataFieldBatch>, ObservableCollection<stcMetaDataTableXML>, Exception> callbackAction )
Public Sub CheckIfFieldUsedForTypeOrTab ( _ userSessionKey As String, _ selectedCustomObjectType As clsEnumeration..::..hsmdObject, _ ByRef Tableid As Integer, _ ByRef TabId As Integer, _ aFieldIdentifiers As ObservableCollection(Of String), _ typesFetchedBefore As ObservableCollection(Of Integer), _ callbackAction As Action(Of Integer, Integer, Boolean, String, ObservableCollection(Of stcMetaDataGroupBatch), ObservableCollection(Of stcMetaDataFieldBatch), ObservableCollection(Of stcMetaDataTableXML), 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.
- selectedCustomObjectType
- Type: HelpSTAR.PCL.Common..::..clsEnumeration..::..hsmdObject
The custom object type.
- Tableid
- Type: Int32%
The table identifier.
- TabId
- Type: Int32%
The tab identifier.
- aFieldIdentifiers
- Type: ObservableCollection<(Of <(<'String>)>)>
Collection of field identifiers.
- typesFetchedBefore
- Type: ObservableCollection<(Of <(<'Int32>)>)>
Collection of types already loaded in UI.
- callbackAction
- Type: Action<(Of <(<'Int32, Int32, Boolean, String, ObservableCollection<(Of <(<'stcMetaDataGroupBatch>)>)>, ObservableCollection<(Of <(<'stcMetaDataFieldBatch>)>)>, ObservableCollection<(Of <(<'stcMetaDataTableXML>)>)>, Exception>)>)>
The callback action.(contains result collections if success.)