g_scratchpad functionality and its use

Abhinab Achary1
Tera Guru

Hi All,

I want to know about the use of g_scratchpad and its significance and use and its speciality.

9 REPLIES 9

Hi Swapnil Bhakar1

I wirte business rule for table sys_email and g_scratchpad i call at client script of incident table.

Can this be done?

Deepa Srivastav
Kilo Sage

Hi Abhinab,



I hope below links help you in understanding the concept of g_scratchpad.



Re: g_scratchpad vs Gliderecord


g_scratchpad vs. GlideAjax: is there really a winner?




Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.


Thanks,
Deepa


nitin_kumar
Mega Guru

I guess we've answered your question. Please mark a response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.


If you are viewing this discussion from your "inbox", use the "mark as correct" option under actions. If you are viewing it directly from the thread use the Correct Answer link (red with a star).


Thank you.




Chuck Tomasi
Tera Patron

Just to add to the collection - this video covers g_scratchpad, g_form.getReference(), and GlideAjax and compares them as methods of getting server information to the client.



Client Side Scripting Fundamentals


agrawars
Tera Contributor

g_scratchpad can be used not only from Server to Client even you can use it for client to client. For example on change of 10 fields, you want to make work notes mandatory, then you need to write on change script for 10 fields, but by using g_scratchpad you can create only 2 client script to handle this scenario. Store JSON object of 10 fields on load and check JSON object with current value on submit.