Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to unwrap or get values from a Wpp Object from "activity"

Avatar

Level 2

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

0 Replies