Expand my Community achievements bar.

Join us for the Adobe Campaign Community Q&A Coffee Break on 30th September at 8 am PT with Campaign experts Arthur Lacroix and Sandra Hausmann.

How to get values from jssp into input form context?

Avatar

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

Avatar

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