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

Trupti6
Tera Expert

Or Configure service portal properties,find_real_file.png

Can you describe how to navigate to this page?

wow-on-now
Giga Guru

For Service Portal pages, the tab name is derived using page name and portal name. The format is PAGE_NAME - PORTAL_NAME.

 

----

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

sugi1
Tera Contributor

Thank you for your reply.
I was able to understand the format.
I'd like to ask you a question because you have expert knowledge about ServicePortal,
Is there a customization method to change that format?


For example, In case of the URL is
https://instancename.service-now.com/sp?id=kb_article&sys_id=xxxxx,

 I would like to display the title of the Knowledge Article instead of PageName of kb_article.

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