Open Service Catalog in the backend with a view like in the Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2022 05:27 AM
Hi,
I need to open 'Service Catalog' page (which displays categories and catalog items) in the backend using an UI ACTION (with some parameters in the URL). I tried two ways to do that but i have a problem in each one of them :
- Backend : working good but the view is not acceptable by the users :
code used : action.setRedirectURL("catalogs_home.do?sysparm_view=catalogs_default&sysparm_processing_hint=setfield:request.parent=" + current.sys_id + "&sysparm_parent_sys_id=" + current.sys_id);
They want a view like in Portal (screenshot below instead of the one above) :
Is that something doable ? (have the same view in the backend like in the portal and in Agent Workspace below)
- Portal : opens the right view (with correct parameters at the homepage URL) but the parameters disappear when choosing a category or a catalog item.
code used : action.setRedirectURL("/sp?id=sc_home&sysparm_processing_hint=setfield:request.parent=" + current.sys_id + "&sysparm_parent_sys_id=" + current.sys_id);
Is there a way to keep parameters even when navigating in the portal ?
Thank you very much for your help.
Regards,
Nessrine
- Labels:
-
Service Portal Development