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 get values from jssp into input form context?

marcinkacz
Level 4
Level 4

Hi, I'm looking for help regarding jssp and input forms used together. I have a input form that displays content of jssp. I would like to choose one of the values available on jssp and insert it back to the input form. But I have no idea how to insert chosen value again in input form context, how to pass it. Could someone possibly share any ideas, please?

Thanks,
Marcin

1 Reply
Jonathon_wodnicki
Community Advisor
Community Advisor

Hi,

 

They made a special input type called audiencePicker for AAM integration that can be (ab)used.

Look at the way nms:validatePicker.jssp works, it's several specially named hidden <textarea/>'s and window.location being set to return type, either xtk:segmentPost or xtk:closePost.

NB this is undocumented and looks hacked together, so may be refactored in a future release in a breaking change to your code.

 

Thanks,

-Jon