ObjectDesignerManager..::..GetAllTabsAndFields Method
Gets collection of all User defined tabs, fields XML Attachments for the types passed in the comma separated list of Main Table identifiers in "MainTableIds".
If the field is a related field, then gets the tabs, fields and XML Attachments for the type hosting the associated field as well.
Namespace:
ServicePRO.Sdk.Windows.ManagersAssembly: ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)
Syntax
public void GetAllTabsAndFields( string userSessionKey, string MainTableIds, List<int> typesFetchedBefore, Action<ObservableCollection<stcMetaDataFieldBatch>, ObservableCollection<stcMetaDataTableXML>, ObservableCollection<stcMetaDataGroupBatch>, Exception> callbackAction )
Public Sub GetAllTabsAndFields ( _ userSessionKey As String, _ MainTableIds As String, _ typesFetchedBefore As List(Of Integer), _ callbackAction As Action(Of ObservableCollection(Of stcMetaDataFieldBatch), ObservableCollection(Of stcMetaDataTableXML), ObservableCollection(Of stcMetaDataGroupBatch), 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.
- MainTableIds
- Type: String
The main table identifier.
- callbackAction
- Type: Action<(Of <(<'ObservableCollection<(Of <(<'stcMetaDataFieldBatch>)>)>, ObservableCollection<(Of <(<'stcMetaDataTableXML>)>)>, ObservableCollection<(Of <(<'stcMetaDataGroupBatch>)>)>, Exception>)>)>
The callback action.(contains result collections if success.)