Is there a way to pass a UDT variable in an event handler script to a parameterized window custom property expecting that UDT by building the UDT string?
For example the variable “url” here needs to be a UDT that has already been defined:
url = event.source.parent.getComponent(‘Label’).text + “01”
system.nav.openWindowInstance(“Param_Window”, {‘URL’ : url})
here ‘url’ is built and interpreted as a string but needs to be passed as a UDT. This code returns an error that ‘url’ could not converted into ‘UDTProperty’
I could use type casting like toInt or toFloat for int and float but I don’t see a way to cast to a UDT.