The CreatorCon Call for Content is officially open! Get started here.

How to change browser tab titles for catalogs?

EJ13
Tera Contributor

Hi all,

 

I've noticed that when I open the OOB service catalog on my instance, the browser tab reads as "Catalog | ServiceNow" in most situations. The exception is when I access it through Service Catalog -> Catalogs, when the tab reads as catalog_Service_Catalog. I also have a custom catalog that shows something similar no matter how I open it. How can I edit the name of the tab to always be the same?

 

Thank you!

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@EJ13 

check these links

Change browser tab titles in Service Portal 

Dynamic browser window title script 

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

@EJ13 

Hope you are doing good.

Did my reply answer your question?

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

kaushal_snow
Mega Sage

HI @EJ13 ,

 

Your browser tab always shows the same name for your catalog by editing both the portal’s title and the page’s title....


Go to Service Portal > Portals, select your portal, and change its Title field to what you want.

Go to Service Portal > Pages, find the catalog page, edit their Title to match or to your preferred page name.

 

>> If you want the tab title to update dynamically (for example to show the catalog item name), use a small widget with this code in the client/controller part...

 

function($scope, $document) {
$document[0].title = "My Custom Catalog Title";
}

 

If you found my response helpful, please mark it as ‘Accept as Solution’ and ‘Helpful’. This helps other community members find the right answer more easily and supports the community.

 

Thanks and Regards,
Kaushal Kumar Jha - ServiceNow Consultant - Lets connect on Linkedin: https://www.linkedin.com/in/kaushalkrjha/