Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Glide AJAX is not working ( from a catalog client script)

Gal1
Kilo Guru

Hi Experts,

My goal is to be able to call a server script with glideAjax from a catalog client script, which related to a record producer. right now I'm getting null as an answer (from the glideAjax) and also my logs on the script include are not executed. 

Please help, what am I missing?

 

 

record producer:

 

find_real_file.png

find_real_file.png

find_real_file.png

catalog client script : 

find_real_file.png

 

script include:

 

find_real_file.png

1 ACCEPTED SOLUTION
26 REPLIES 26

ccajohnson
Kilo Sage

Within the script include you are using a parameter 'sysparm_field'. Within your client script you are calling a variable called 'field'. Not sure if this variable called name exists, or why it is being used.

Also, not sure if getXMLAnswer is a function that can be used in the portal.

Hi, thanks for your response.

I tried to delete the sysparm_field and to use another GlideAjax technique and I'm still having the same issues.

find_real_file.png

 

find_real_file.png

If I am not wrong gs.log does not work in Scoped Application.

Can you use gs.info in Script Include to check if the script include is at least being invoked ? 

 I tried gs.info too. still no logs.