I am creating a low code app, wherein I want to the know the tables from where all DOM related information are retrieved, in order to get/set the values from the script.
As for my scenario, I want to retrieve the start time and end time for the event or element.
Hi Apurva,
If I understand your question correctly, you currently have DOM data displayed in a low-code app, and you would like to interact with them in a DataMiner Automation script? If that is the case, you'll first need to know the IDs of the FieldDescriptors that represent the start and end time.
If you are not sure where to find this and would like to start from the low-code app, you can follow these steps:
- In the low-code app, open the page where the table is displayed and go into edit mode.
- Hover over the table component and click on the 'Data' (grid) icon which should pop up below the component. This will show the name of the 'feed' where this data in the table is coming from. This will most likely either be the name of a GQI query or a query filter. If it is the latter, you'll have to do the same on the query filter component so you know which GQI query is the source.
- Edit (pencil icon) the GQI query you found. This should reveal the DOM module this DOM data is coming from. (Get object manager instances module is X)
Now you know the DOM module ID, you can check the configuration using the SLNet Client Test tool.
- Open the tool
- Connect to your DataMiner agent
- Go to 'Advanced > Apps > DataMiner Object Model'
- Select the module ID you found earlier
- Click on 'Open'
- A new UI should pop up which displays all DOM instances and configuration objects inside this DOM module.
- Go to the 'SectionDefinitions' tab.
You will now see all SectionDefinitions in this DOM module. There should be one in that list that contains the two 'DateTime' FieldDescriptors (start & end). You can find it by clicking on one and then clicking the 'Open' button. This gives an overview of all FieldDescriptors in the SectionDefintion.
If you have found the SectionDefintion & FieldDesciptors, you can note down their IDs and use them to interact with the fields (get/set). More information on how to do that can be found in the docs: https://docs.dataminer.services/user-guide/Advanced_Modules/DOM/DOM_examples/DOM_Altering_values_of_a_DomInstance.html
To read DOM instances, you can check the example here: https://docs.dataminer.services/user-guide/Advanced_Modules/DOM/DOM_examples/DOM_Invoice_app_example.html#readingfiltering-dom-instances
Don't hesitate to let me know if I misunderstood your question.
DataMiner stores the DOM data in the configured indexing database. This is either Elasticsearch, OpenSearch or STaaS depending on what is configured. You can find the index name schema on this page in the docs: https://docs.dataminer.services/user-guide/Advanced_Modules/DOM/DOM_data_storage.html
Do note that this data should not be altered manually and that the DOM API provided by DataMiner (DomHelper) should be used.
Thanks, a lot for your response it is really very helpful, but can you please let me know where are Dom Instances coming from or where it is saved?