Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to show welcome message beside portal logo in Employee center Homepage

Akula M S G Dev
Tera Contributor

How to show welcome message beside portal logo in Employee center Homepage

AkulaMSGDev_0-1683018424761.png

 

3 REPLIES 3

Community Alums
Not applicable

from screenshot there is welcome to Ec right , i need that to be beside logo

Mayu
Tera Guru

We can write script in Homepage search 

On HTML:

<h2 class = "hello" > Welcome  to ESC {{data.user}}. ?</h2>

On server Script:

(function() {
data.user =gs.getUser().getFirstName();

})();

 

On css  : (Add this type of CSS class in ur HTML code, only if require)

.hello{
color: #FFFFFF;
font-size: 24px;
font-weight: 500;
padding-left: 50px;
line-height: 0.3;
}

Mark if it is helpful for you.