Get data from user input and add it to catalog item variable

valentin3
Tera Guru

Hi guys,


I need your help. I created a widget that is embedded in a catalog item. 

The widget is created to have 3 sections:

- first section the user can add/edit/remove rows in a table

- second table is kind of static, nothing dynamic in it

- third section, the user can put a number in a input field and that will generate a number of small tables. i used the angular directive ng-repeat to generate those based on the number that user inserted. 

What I want is when the user submits the catalog item, to collect the input from all these tables (static and dynamic). I really got issues with the 3rd section table, i cannot find a way collect the data.

 

Also, the widgets is not a form itself, i don't want the widget to be a form and the catalog item another form. I want to collect the data when i press "submit / order".


can you please help me?

1 ACCEPTED SOLUTION

Don't build things the way your client tells you. Teach your client about how things work in ServiceNow and adapt the requirements to ServiceNow's functionality and leading practices. Be the guide!

View solution in original post

3 REPLIES 3

Slava Savitsky
Giga Sage

Why does it have to be so complex? Why can't you use the standard catalog item functionality?

The client had an excel as a template to generate new catalog items and they want this implemented in service now..

I want to know if it is possible to do it...i did 80-90% of the requirements, i just need to get the data from those fields and add it in a variable on submit

Don't build things the way your client tells you. Teach your client about how things work in ServiceNow and adapt the requirements to ServiceNow's functionality and leading practices. Be the guide!