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,
If I correctly understand your use case I would implement it like this with indeed the DOM instance field descriptor: where you have a workorder module with an order definition which contains one field that references to the client definition from another module. That way you will be able to have separate apps to manage clients & workorders & you will be able to reuse or references your clients in multiple workorders
No, I can’t attached picture to the comment but everything is inside work order module. I’m trying to link definitions inside same module .
Hi Ladan, linking between definitions is also possible within a module. For your use case I would still use that Dom instance field descriptor iso DOM instance value field descriptor as in your queries you will probably want to have other fields from clients such as contact person etc combined with workorder information
Kind regards
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.