Redirekt from Service Catalog in backend to Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2022 03:13 AM
We don't want anyone to use the service catalog from the backend, instead we want everyone to be redirected to the ServicePortal. The backend Service Catalog can be accessed in several ways, so is there a central way to set up a redirect?
- Labels:
-
Service Catalog
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2022 03:28 AM
Hi,
if the user has access to native they can visit the service catalog and submit the catalog item
you need to discuss with your customer for the requirement and accordingly handle the redirection so that it directly goes to portal and not native for those set of users
here is nice blog for you to start and code
6 ways to set up your Service Portal for redirection SUCCESS!
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2022 05:13 AM
Hey Ankur,
Thanks for your Answer!
The redirection should not be for a set of users but actually all users should use the catalog only from the portal. This will allow the support staff to be more familiar with the view of the end-users, to be able to help them better in this system that will be new for all of them.
Regards
Marcel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2022 06:24 AM
So from what I could get is that the catalog item should only be submitted from portal and not from service catalog(native)
you can use onSubmit catalog client script and check if it's native or portal and accordingly inform user and stop the submission
But remember you will have to create this for every catalog item
function onLoad(){
try{
if(window == null){
// portal view so allow
}
}
catch(ex){
// native
alert('You are not allowed to submit from native');
return false;
}
}
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-08-2022 03:32 AM
You could possibly change the Link type arguments to your SP URL in your Service Catalog module.