- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2020 09:02 AM
I'm new to SNow and trying to update fields ('address1' in this example) in a table ('table1') using GlideAjax upon submission of a Record Producer. Below are my client & server scripts. I'm not sure what I'm doing wrong but when I submit the RP, the table is not updated at all.
-------------------------------------------------------------
Client Script:
-------------------------------------------------------------
Server Script:
-------------------------------------------------------------
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2020 09:08 AM
You can make use of record producer script to achieve this.
var gr = new GlideRecord('table1');
gr.initialize();
gr.address1= producer.address1;
gr.insert();
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2020 09:08 AM
You can make use of record producer script to achieve this.
var gr = new GlideRecord('table1');
gr.initialize();
gr.address1= producer.address1;
gr.insert();
Please mark my response as correct and helpful if it helped solved your question.
-Thanks