Prevent catalog item from backend submission

Khanna Ji
Tera Guru

Hi Team,

 

Is it possible to disable the catalog item access from the traditional service catalog backend view and allow the access or request submission only from the portal?

 

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Khanna Ji 

you can write onSubmit catalog client script which runs for Native and stop the form submission

UI Type - Desktop

Script

function onSubmit(){
	alert("You are not allowed to submit from backend");
	return false;
}

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Khanna Ji 

you can write onSubmit catalog client script which runs for Native and stop the form submission

UI Type - Desktop

Script

function onSubmit(){
	alert("You are not allowed to submit from backend");
	return false;
}

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hi Ankur,

Even I have the similar requirement but we don't any of the catalog item to be summitted from backend, we have 400+ catalog items writing catalog client script for induvial catalog item is a very big task. Is there any other way to achieve this?