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

Here in this Video, I have covered the Custom Application Pattern Troubleshooting and configuration Thank you for visiting my channel. Here, I'll share various technical knowledge. Feel free to reach out to me directly for any Service Now-related queries. Your support encourages me to consistently
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

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

Here in this Video, I have covered the Custom Application Pattern Troubleshooting and configuration Thank you for visiting my channel. Here, I'll share various technical knowledge. Feel free to reach out to me directly for any Service Now-related queries. Your support encourages me to consistently