UI policy and Client Script not working in native catalog view Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 06:41 AM - edited 11-06-2024 06:43 AM
Hi All
My instance version is Washington and some of the catalog item's client script, and UI policies are not working when I use 'Try It' (com.glideapp.servicecatalog_cat_item_view.do) from catalog item but the same works in Portal view. Could you please help with below queries ?
1) My customer's IT team still uses com.glideapp.servicecatalog_cat_item_view to raise request while the end users are using Portal. I suggested them not to use the native view at all. Does ServiceNow has any recommendations?
2) Multi row variables and some scripts are working in this view. Is that a technical limitation?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 06:45 AM
@Community Alums
are you sure you set the UI Type - ALL so that it works in both native + portal?
share your client script and the configuration screenshot
Was it working earlier?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 07:29 AM
@Ankur Bawiskar - I tried with a simple UI policy which is not working. This is same as that of the one which is already there and working. On a specific condition, one of the fields should be visible and mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 08:30 AM
@Community Alums
in the script section did you check UI type = ALL?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2024 08:38 PM
@Ankur Bawiskar - Yes, I have already set the UI type to 'ALL'