I'm using Dom Editor and while trying to link a field in one section definition to another section I receive this error.
Script Failure (Dom Editor): EXIT: "System.InvalidCastException: Unable to cast object of type 'Skyline.DataMiner.Utils.InteractiveAutomationScript.StackPanel' to type 'DOM_Editor_1.FieldDescriptor.Panels.DomInstanceValueFieldDescriptorPanel'.
at DOM_Editor_1.FieldDescriptor.PresenterHelpers.DomInstanceValueFieldHelper.OnFieldDescriptorChanged(Object sender, ChangedEventArgs changedEventArgs)
at Skyline.DataMiner.Utils.InteractiveAutomationScript.DropDown`1.RaiseResultEvents()
at Skyline.DataMiner.Utils.InteractiveAutomationScript.Dialog`1.RaiseResultEvents(UIResults uir)
at Skyline.DataMiner.Utils.InteractiveAutomationScript.Dialog`1.ShowInteractive()
at Skyline.DataMiner.Utils.InteractiveAutomationScript.InteractiveController.Run(IDialog startDialog) at Script.Run(Engine engine)" (see comment for more details)
Any suggestion?
Hi Thomas, I’m using version 10.3.4.0 and still have problem with installation. Deployment fails and noting is added to information event to know why
Hi,
I noticed that this question has been open for some time now. Can you confirm if you have found a solution, so we can mark this question as solved?
Hi Ladan, thanks for the clarification. What you need is a DOM instance field descriptor for your use case & not a DOM instance value field descriptor:
This is an example of something similar: Where we have workorders on the right & clients or organizations on the left. These are two different DOM modules/definitions which are linked together so on my workorder I have a field called customer/client which links towards my customer DOM module.
Hope this helps
Hi Martijn
Mine is not 2 DOMs. It’s one DOM called event-management which contains multiple section definitions which one is called work order and another on is call client and I need to see client names in one field of work order.
Do I still need to use the instance which you’re suggesting?
Hi Ladan,
I’m not sure if you still need the DomInstanceValueFieldDescriptor, but the new version with the fix is now available on the catalog.
https://catalog.dataminer.services/catalog/3195
The fix is available in version 10.3.3.4 & 10.2.8.5 depending on your DataMiner version.
Note, we discovered an issue with the installation process.
If the installation fails, try to upgrade DataMiner to version 10.2.10 or higher.