Hi All,
Using SHARED.apply5250FunctionKeyPatterns in RAMP TS script fails with Cannot read properties of undefined (reading 'TYPE_OUTPUT').
Does anyone know the correct usage of GLOBAL_oAXESInterface.Element.TYPE_OUTPUT in UF_SY420_RTS.JS?
https://docs.lansa.com/15/en/lansa050/i ... 0_1655.htm
Regards,
Taku
[RAMP-TS] Cannot read properties of undefined (reading 'TYPE_OUTPUT')
-
Taku Izumi
- Posts: 63
- Joined: Thu Dec 15, 2016 2:03 pm
-
Tim McEntee
- Posts: 57
- Joined: Thu May 26, 2016 8:46 am
Re: [RAMP-TS] Cannot read properties of undefined (reading 'TYPE_OUTPUT')
Hi Taku
I am going to guess that GLOBAL_oAXESInterface.Element.TYPE_OUTPUT does not always exist. This translates to the string "Text". So you could replace
if (oAXESElement.type == typeOUTPUT)
with
if (oAXESElement.type == "Text")
Tim
I am going to guess that GLOBAL_oAXESInterface.Element.TYPE_OUTPUT does not always exist. This translates to the string "Text". So you could replace
if (oAXESElement.type == typeOUTPUT)
with
if (oAXESElement.type == "Text")
Tim
-
Taku Izumi
- Posts: 63
- Joined: Thu Dec 15, 2016 2:03 pm
Re: [RAMP-TS] Cannot read properties of undefined (reading 'TYPE_OUTPUT')
This has been logged as a defect.
Those who have the same issue will have to wait for a fix.
Taku
Those who have the same issue will have to wait for a fix.
Taku