Adobe Launch - How to read CustomEvent payloads and properties (event.detail.obj) - Core Extension 3.1+
Hey community,
It seems that since the release of Core extension 3.1+ in Adobe Launch, our code to retrieve a property of "event.detail" does not work.
We used to create a Data Element of type "Javascript Variable" with "event.detail.myproperty". Now it seems that a "Javascript Variable" no longer has access to the "event" object. Probably replaced by the new "Runtime Environment" (I guess for performance??).
To fix this, we created a Custom Code that tests the object and returns the property. At least this still has "event" access.
However, this seems to be a less elegant solution than before.
How would I elegantly retrieve a property of "event.detail" using the new "Runtime Environment"?
Using "Event Detail Payload" only returns "event.detail", and it does not provide a flexible way to read properties (in my case 'event.detail' is an object, and not a string or a decimal).
