Hi Dojo
Is it possible to extract the module ID of a DOM instance based on the DOM instance ID GUID? I tried the following code but the ModuleId property is not getting filled in:
Guid domInstanceGuid= Guid.Parse("066a10fd-6f36-4613-abcc-6ca0221af7d0");
Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstanceId domInstanceId = new Skyline.DataMiner.Net.Apps.DataMinerObjectModel.DomInstanceId(domInstanceGuid);
domInstanceId {
"Id": "066a10fd-6f36-4613-abcc-6ca0221af7d0",
"ModuleId": null }
If it is possible to extract the module ID based on the DOM instance ID GUID, would you like to explain how it should be done please?
Thank you in advance!
Kind regards
Hi Michiel,
The ID of the module where a DomInstance was created in is not encoded into the Guid. This is a separate string that should be stored alongside the Guid where necessary.
Hi Michiel,
I don't think that this is possible.
As far as I understood correctly, a DomInstanceId only needs to be unique in a certain DOM Module (for now), not across DOM Modules. Therefore, it won't be possible to find the correct module by the DomInstanceId since it can be part of multiple modules.
Hi Jens
Thank you very much for your answer! I understand the situation.
Kind regards
Hi Thomas
Okay that’s clear. Thank you for your answer!
Kind regards