Display welcome text along with name

MK-p
Tera Contributor

I want to display welcome "Logged-in Username" to Knowledge Portal

1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

Hi @MK-p ,

 

If you looking to change the KB portal then make changes below.

In client script use below code

var welcomeMsg = "Welcome "+c.data.user+" to Knowledge Management Portal";
  c.options.title =  welcomeMsg;

In server side

data.user = gs.getUserDisplayName();

 

RunjayPatel_0-1731511908841.png

 

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

View solution in original post

1 REPLY 1

Runjay Patel
Giga Sage

Hi @MK-p ,

 

If you looking to change the KB portal then make changes below.

In client script use below code

var welcomeMsg = "Welcome "+c.data.user+" to Knowledge Management Portal";
  c.options.title =  welcomeMsg;

In server side

data.user = gs.getUserDisplayName();

 

RunjayPatel_0-1731511908841.png

 

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------