Taking Input from user in Service Portal Widget

june1994
Kilo Explorer

I am configuring a widget where i am giving the name of a user as input and there is a submit button,clicking on it it will show a message "Hello" with the Name of the user i given as input.

I have configured the widget but it is not showing any message after giving the input.

HTML:

find_real_file.png

Server Script:

find_real_file.png

Client Script:

find_real_file.png

Can anyone tell me where i am doing wrong wrong in the code??

9 REPLIES 9

Chuck Tomasi
Tera Patron

Can we see the HTML as well? It would be nice to know if did a bind from the input variable to the data.name variable.


Hi,


find_real_file.png


This is the HTML code..


I know we ran in to something similar when we created a Markdown editor in Service Portal. It was one of these videos...



Markdown Editor in Service Portal - Live Coding Happy Hour for 2017-10-06 - YouTube


More Markdown Editor in Service Portal - Live Coding Happy Hour for 2017-11-03 - YouTube


Hi


i have seen your videos but still i am not able to figure out where to change in widget code. Can u specifically say where to change the code in my widget??