Catalog items difference in backend and client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 05:09 AM
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:
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 07:00 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 07:34 AM
I have checked that. It s already set to ALL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2024 10:58 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 01:37 AM
hi!
Thanks for the advice but I have tested this solution and it does not work.