how to edit the browser tab when opening ServicePortal.

sugi1
Tera Contributor

I want to edit the browser tab when opening ServicePortal.
Does anyone know where to edit?

I added a <title> ~~ </ title> to the HTML field with a widget in ServicePortal, but I could not change it.

find_real_file.png

1 ACCEPTED SOLUTION

You can always edit the title of the page from the link function of any widget like so:

$('head title').text('NEW TITLE HERE');

If you would like to do this for all pages then do it in the footer widget. If you would like to change title for just some of the pages then you can add the code to the link function of a widget that is loaded on that page. All pages with that widget will get the new title and the title will get reset to PAGE NAME - PORTAL NAME when the id changes to a page without that widget. 

 

----
At Intellective, we specialize in Service Portal development and are always happy to help. Please feel free to get in touch at info@intellective.co.

 

Ritesh Dalal
ServicePortalPro

www.intellective.co

View solution in original post

12 REPLIES 12

sugi1
Tera Contributor

I tried it and made it.
Thank you!

I am new to Service Portal.

Can you share the steps to try it in a OOB developer instance 

sugi1
Tera Contributor

1. Clone the widget on the page whose tab you want to change.
2. Enter $('head title').text('NEW TITLE HERE'); in the Link field of the cloned widget.
You can change the tab's name by following the above steps.