Glide AJAX not working

umaaggarwal
Giga Guru
Giga Guru

Hello Experts,

My goal is to have a string field on incident form and when the form loads, it should get populated with CI details ( like name , manufacturer , asset tag etc ) based on what is selected under configuration item.

To achieve this, I created onload client script, and using glideajax to interact with script include which returns the data from that specific configuration item, however I am getting null value as a result. Can someone please help ?

 

Below is the client script 

 

find_real_file.png

script include 

 

find_real_file.png

 

Output 😞

 

find_real_file.png

 

 

17 REPLIES 17

not working for me  😞

not working

Jim Coyne
Kilo Patron

Instead of retrieving the information, your users could just hover over the "i" icon of the CI field to view extra information.  Or you can add the dot-walked fields onto the form itself and not worry about scripting and saving redundant info in a new field.

Otherwise, your onLoad should probably be an onChange script instead so the field change would trigger a refresh of the information.

blanca12
Mega Contributor

I've tested this in my developer instance and it is working correctly.

Tutuapp 9Apps ShowBox

not working for me 😞 , nothing happens