Can GlideAjax use in <g:evaluate> Jelly?

bbf3562
Kilo Guru

I have experience using GlideAjax in client script but I am new to using jelly script. Due to performance issue for loading massive data from table using GlideRecord in <g:evaluate>, I want to try use GlideAjax to see if the performance of data load improve. My question is will GlideAjax work in <g:evaluate> or it should be in <script> in HTML code box?

2 REPLIES 2

sachin_namjoshi
Kilo Patron
Kilo Patron

You can not use GlideAjax in g:evaluate


If you are talking about UI page, then you need to use GlideAjax in client script of UI page.



find_real_file.png



Regards,


Sachin


I created GlideAjax in Client script box in UI Page and also created Script Include. The problem I have right now that ga.getXML(ajaxResponse); is not calling function ajaxResponse(serverResponse) because the alert in that function doesn't trigger. I tested gs.log() in Script Include and it does call fine there but then it doesn't call function ajaxResponse(serverResponse) when Script Include completed.