Catalog item_catalog client script is not working

shaikkhasim
Tera Contributor

Hi Team

i have created a catalog item, 

My Requirement is , once user Name is selected . email filed should be fill automatically of that persons manager 

 

i used the catalog client script but it is not working , pls find the attached images 

 

Regards

khasim

khasim
10 REPLIES 10

DanielCordick
Mega Patron
Mega Patron

Can you copy and paste your script

Hi Dc

will you pls confirm, can we achieve these through catalog client script or not..

 

Regards

Khasim

khasim

DanielCordick
Mega Patron
Mega Patron

Your going to need to do a script include with a glide ajax call 

 

check this out 

 

https://www.servicenow.com/community/developer-articles/get-user-details-based-on-the-logged-in-user...

Ankur Bawiskar
Tera Patron
Tera Patron

@shaikkhasim 

If you are on Utah and further version, you can use Auto-populate feature and no scripting is required

Auto-populate a variable based on a reference type variable (Utah) 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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