Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

Change browser tab title based on module

davewtmacot
Tera Contributor

Hi Everyone,  I have two modules  and they are opened on the same application model table but uses different filters. I need the browser tab title to show different on each module . I already tried adding syspar_title and sysparm_page _title in the module arguments, but the browser title did not change. I also tested client script using document.title and it worked. Obviously it is somekind of DOM manipulaton . Is there another supported way to change the browser tab title based on the module witout creating custom page?

2 ACCEPTED SOLUTIONS

Ankur Bawiskar
Tera Patron

@davewtmacot 

I don't think this can be handled out of the box

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

View solution in original post

Dr Atul G- LNG
Tera Patron

No mate,  browser title is based on property and its global.

****************************************************************************************
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
******************************************************************************************

View solution in original post

5 REPLIES 5

Ankur Bawiskar
Tera Patron

@davewtmacot 

I don't think this can be handled out of the box

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

I thought it can be done but after doing some configuration I just learned OOTB feature of servicenow can't handle separate names if it falls on the same table. I also tried putting some module arguments and it doesn't make any changes

Dr Atul G- LNG
Tera Patron

No mate,  browser title is based on property and its global.

****************************************************************************************
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
******************************************************************************************

davewtmacot
Tera Contributor

Thank you! but I did some UI script and it worked just fine but it will fall under technical debt. I understand somekind of DOM manipulation can't be done but I thought the platform can handle this kind of changes like custom page or something