Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Storing html ng-model option in client script using widget & passing the value to next widget

Arpitha2
Tera Contributor

Hi Experts,

 

I'm working on a requirement, where clicking on a button on Portal, should display a pop-up with list of options to select & selecting one of the option & clicking on 'ok' should create child case. 

 

Child case is being created. However, the value selected on the pop-up is not getting stored in client script & unable to store this value in the child case native UI field.

 

I have achieved this by creating a widget & calling this widget in another widget. Kindly provide assistance.

Arpitha2_0-1664974449137.png

 

 

2 REPLIES 2

Sebastian L
Mega Sage

How do you send the information to the other widget? By broadcast/emit ? Could you share some screenshots of your code? 🙂 


Best regards,
Sebastian Laursen

Hi Sebastian,

 

I'm not using both of them. I have also attached the xmls of the widgets i'm using. Please find the code snippet:

Arpitha2_0-1664977152416.png

Arpitha2_1-1664977205163.png