Redirekt from Service Catalog in backend to Service Portal

MarcelB
Tera Contributor

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?

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

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

@MarcelB 

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

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Kev9
Kilo Sage

You could possibly change the Link type arguments to your SP URL in your Service Catalog module.