How to get values from jssp into input form context?

Avatar

Avatar

marcinkacz

Avatar

marcinkacz

marcinkacz

13-01-2021

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

wodnicki

MVP

Avatar

wodnicki

MVP

wodnicki
MVP

20-01-2021

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