- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2023 08:50 AM
Hi All,
We are trying to configure our employee center, as you can see the below is the default OOTB:
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:
Thank you in advance! 🙂
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2023 12:37 PM
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.
Here u need to add ur code:
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2023 12:37 PM
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.
Here u need to add ur code:
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.