Hi Dojo,
I would like to write an adhoc datasource to retrieve the Scheduler tasks, so I can present them in my low code app.
As I don't have access to IEngine, I think that I need to make use of SLNetMessages directly, as I won't be able to make use of the class library (IDms -> IDma -> IDmsScheduler).
Step 1: Retrieve DMA ID -> How?
Step 2: Retrieve Scheduler tasks: GetSchedulerInfoMessage(what: 13, see step 1)
Questions:
- Do you know how I can the DMA ID in step one, so I can use it in step 2?
- Do you know an alternative to retrieve the Scheduler task which is more convenient?
Sending messages can happen with:
GQIDMS class | DataMiner Docs
See example at the bottom of that page.
Your local DMAID is:
_dms.GetConnection().ServerDetails.AgentID
Do note this uses functionality only available in DataMiner 10.4.6/10.5.0 or higher.