Catalog items difference in backend and client

dev_K
Tera Contributor

hello everyone!

 

I have a question:

 

I have a catalog item which correctly displays security zones in a dropdown menu (options depend on selection of other field) when i make a request via ESC: 

dev_K_0-1714133147495.png

 

 

however when i do exactly same thing via backend, those options are not populated.

 

Just FYI, there is a script includes called, that contains the list of options for that fields.

 

Any ideas why that is happening?

 

dev_K_1-1714133376272.png

 

8 REPLIES 8

Ankur Bawiskar
Tera Patron
Tera Patron

@dev_K 

I suspect your client script which is invoking the script include via GlideAjax is only work on portal.

Ensure you set UI Type - ALL on your client script and verify then

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

I have checked that. It s already set to ALL

Ramz
Mega Sage

Hi @dev_K ,

Go to the variable and add Variable attributes for that variable as below to make it work on backend :-

ref_qual_elements=<name of dependent reference variable>

Please mark my answer correct/helpful if it resolved your query.Thanks

dev_K
Tera Contributor

hi!

 

Thanks for the advice but I have tested this solution and it does not work.