Is there a way to run script globally on every page of Service Portal?

Radek Homola
Kilo Expert

Hi community,

I've created a global UI Script. I know it can be executed from some other script easily – but is there a way how to append the script on every page of the Service Portal? – I mean the <header> part of the page to run on every page of the portal.

Thank you, 

Radek

1 ACCEPTED SOLUTION

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

the answer of lakshminarayana in the thread below might help you:

https://community.servicenow.com/community?id=community_question&sys_id=31948ba9dbd8dbc01dcaf3231f96...

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

View solution in original post

2 REPLIES 2

Alberto Consonn
ServiceNow Employee
ServiceNow Employee

Hi,

the answer of lakshminarayana in the thread below might help you:

https://community.servicenow.com/community?id=community_question&sys_id=31948ba9dbd8dbc01dcaf3231f96...

If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.

Thank you

Cheers
Alberto

Hi, this helped. Thank you.

I included the JS to header widget and it is working. Thank you.