How to get values from jssp into input form context? | Community
Skip to main content
marcinkacz
Level 3
January 13, 2021
Question

How to get values from jssp into input form context?

  • January 13, 2021
  • 1 reply
  • 1095 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Jonathon_wodnicki
Community Advisor
Community Advisor
January 20, 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