Open in new tab - Service Portal Icon Widget

Khanna Ji
Tera Guru

Hi All,

On the Service Portal Home page, we have a community link. I have updated the link to redirect to external site as shown in the screenshots but its opening in the same windows. It should open in a new window. How is it possible without editing a widget?

 

find_real_file.png

 

find_real_file.png

1 ACCEPTED SOLUTION

Harsh Vardhan
Giga Patron

there is other way to do this as well, if you dont want to clone the widget.. 

 

CTRL + Right Click >> "Instance In Page Editor " >> use below json

 

find_real_file.png

 

 

 

{


"target": {

"value":"_blank"
},

"link_template": {

"value": "Circle Icon",

"displayValue": "Circle Icon"
}
}

 

 

find_real_file.png

 

 

find_real_file.png

 

 

Now it will open in new tab. 

 

If my answer helped you, kindly mark it as correct and helpful.

View solution in original post

6 REPLIES 6

Harsh Vardhan
Giga Patron

you have to clone the icon link widget and make the changes which have suggested on below HI Article. 

 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0683847

Jaspal Singh
Mega Patron
Mega Patron

Refer link for the same.

already mentioned in my above response.

Harsh Vardhan
Giga Patron

there is other way to do this as well, if you dont want to clone the widget.. 

 

CTRL + Right Click >> "Instance In Page Editor " >> use below json

 

find_real_file.png

 

 

 

{


"target": {

"value":"_blank"
},

"link_template": {

"value": "Circle Icon",

"displayValue": "Circle Icon"
}
}

 

 

find_real_file.png

 

 

find_real_file.png

 

 

Now it will open in new tab. 

 

If my answer helped you, kindly mark it as correct and helpful.