Change browser tab title

castle11
Tera Expert

Hi, I am currently making some changes to problem management and one of which is to change the browser tab title when viewing an existing problem record. Currently, the title is <state> | Problem | <instance>, e.g. Open | Problem | MyInstance. I want to use the problem number instead of state, so PRB1234567 | Problem | MyInstance for example. I know that in the service portal it's very easy to set the tab title for a page, but I can't find a similar option anywhere for form/record pages. Other tables are using this format, e.g. incident is INC123456 | ..... | ... 

 

I have searched the docs, community, internet and our instance, but can't seem to find an answer. Can anyone please help.

1 ACCEPTED SOLUTION

Found the issue. The display was set to number on the table, however, there was a dictionary override for the state field (since problem extends base task table). In the override there is a checkbox 'Override display value' and it was set to true.

View solution in original post

4 REPLIES 4

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @castle11 

 

The last section we can change in UI 16 property, under browser title and I think the rest is tough to find out.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Chaitanya ILCR
Kilo Patron

Hi @castle11 ,

Check the display field of the problem table and change it number if not set as number.

ChaitanyaILCR_1-1738605033112.png

 

if you don't want to touch the display attribute

you can create an onload client script try to set the title manually

ChaitanyaILCR_2-1738605078835.png

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya

 

Hi, thanks for your response. This was our thought as well but the number is already set as the display value for problem. Really don't understand why it's so easy to change in the portal but there is no equivalent option in the core UI. We may have to settle for a script

Found the issue. The display was set to number on the table, however, there was a dictionary override for the state field (since problem extends base task table). In the override there is a checkbox 'Override display value' and it was set to true.