Copy URL gives same hyperlink for all

Khanna Ji
Tera Guru

Hi Team,

 

I hope everybody is familiar with Copying URLs from MS Edge browser. When you copy a URL it copies and pasted as Hyperlink as shown below;

 

2/5 Ask the Expert: CMDB Basics with Steven Bell, MVP 

 

Same works with one of the portal we have. When I open any catalog item, it gives me the name of that catalog item in the hyperlink which is cool. But for other portal, it always gives name of the portal for any of the catalog item I open.

 

What could be the reason and where should I look into?

3 REPLIES 3

jaheerhattiwale
Mega Sage
Mega Sage

@Khanna Ji It gives the title of the page as the link name.

jaheerhattiwale_0-1672323587245.png

 

So in your case,

When you open any catalog item the page title is catalog items name.

The other portal you mentioned the page title is portal name.

 

So whatever is page title it shows that.

 

Please check.

 

Please mark as correct answer if this solves your issue.

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023

So how do I change that? When I open a catalog item or some KB or ticket page, title of the page should be updated with the relevant page.

@Khanna Ji You can add below line in client controller of widget.

 

document.title = "<TITLE YOU WANT HERE>";

 

Please mark all the answers on this question as correct answers

Please mark the answer as correct or helpful based on impact
ServiceNow Community Rising Star, Class of 2023