Employee Center - Customizing Welcome Message

MichaelCreatura
Tera Guru

Hi All, 

 

We are trying to configure our employee center, as you can see the below is the default OOTB:

MichaelCreatura_0-1678895337438.png

Is it at all possible to adjust this so that it would say "Hello, [LOGGED IN USER NAME]. How can we help?". Something that looks like the below:

MichaelCreatura_1-1678895398158.png


Thank you in advance! 🙂

 

1 ACCEPTED SOLUTION

Community Alums
Not applicable

Hello @MichaelCreatura ,

Yes u can. For this u need to clone 'Homepage search' widget. And write ur code in HTML/CSS/server script.

The title 'How can we help?' it takes dynamically from Instance options.

Khushbookabra_0-1678908941682.png

Here u need to add ur code:

Khushbookabra_1-1678908993281.png

 

On HTML:

<h2 class = "hello" > Hello {{data.user}}. How can we help?</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: 700;
padding-left: 50px;
line-height: 0.3;
}

 

@MichaelCreatura , Please mark my answer as accepted solution and helpful. If it is works for u.

 

Thank you.

View solution in original post

1 REPLY 1

Community Alums
Not applicable

Hello @MichaelCreatura ,

Yes u can. For this u need to clone 'Homepage search' widget. And write ur code in HTML/CSS/server script.

The title 'How can we help?' it takes dynamically from Instance options.

Khushbookabra_0-1678908941682.png

Here u need to add ur code:

Khushbookabra_1-1678908993281.png

 

On HTML:

<h2 class = "hello" > Hello {{data.user}}. How can we help?</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: 700;
padding-left: 50px;
line-height: 0.3;
}

 

@MichaelCreatura , Please mark my answer as accepted solution and helpful. If it is works for u.

 

Thank you.