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,
Haven't seen that error before but can you explain your use case a bit more in detail (maybe show the two objects that you try to reference)? Not sure if I fully understand what you try to do:
In DOM you have two ways of creating references between different DOM instances:
You have a DOM instance field descriptor which makes it possible to link a field in one DOM instance with an instance of a different definition or module (this is the most used)
You have a DOM instance value field descriptor which makes it possible to link a field in one DOM instance with a field value from another instance from a different definition or module
Hi Martijn
Thank you for your reply.
Imagine that I have section definition called Client which hold Client data and I have another section definition which is work orders and one field on work order is called client. The client field in the work order section must display list of clients’ names which is set in client sections definition.
Sorry if it sound a bit complicated
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.