How to unwrap or get values from a Wpp Object from "activity"
Hi, I have a element of a "link" type which I am using on an input form. In my custom JS activity, how do I get the values of selected linked schema (options:dimentions). I can get to other values in JS using activity.label etc. but when I do activity.dimension I get at [Object WppObject] and I tried to use "for each" etc. but I cannot get to the selected schema values "dimensions". Does anyone know, how to get to the values in Wpp Object?
Schema:
<element label="Dimensions" name="dimension" target="options:dimensions" type="link"/>
Form:
<input xpath="dimension"/>
JS:
activity.dimension (Wpp Object)
Thanks!
/Wiki