populate field on record producer

Andre8
Giga Guru

I am trying to populate the site field on a record producer using a catalog client script and glideAjax. The site value comes from the user record:
find_real_file.png
I have created the field on the record producer:
find_real_file.png
Site variable:
find_real_file.png
Catalog Client Script:
find_real_file.png
Script Include:
find_real_file.png
Site field on user record:
find_real_file.png

1 ACCEPTED SOLUTION

Thanks, I was able to resolve this by using a catalog client script and omitting the script include

find_real_file.png

View solution in original post

9 REPLIES 9

yes looks fine

not sure why you were dot walking like this in your earlier script

grUser.site.u_site

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Im not sure why the field is still not populating after returning the display value

Hi,

is your poc_name variable of type reference to sys_user?

Did you check what came in alert as response from script include?

is your script include client callable?

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thanks, I was able to resolve this by using a catalog client script and omitting the script include

find_real_file.png

@Andre 

Glad to know.

Please mark appropriate response as correct and helpful to close the thread.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader