- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 08:25 AM
Currently I am working on Service Portal. Homepage Search text is by default "How can we help?" It should dynamically fetch user's name and populate "Hello Vidya! How can we help?" How to set this by HTML coding. Please suggest url if any video available
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2025 02:07 AM
Glad to help.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-11-2025 08:54 AM
check these links
Add welcome message to Service Portal with Name
Service Portal add current user's name i.e. "Hi Joe, How Can We Help?"
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2025 01:50 AM
It worked by following the below steps
Clone the Widget -- Homepage Search
and place the cloned widget on the Homepage (index)..
In the Server Script use :
data.firstName = gs.getUser().getFirstName();
In the Body Html template use
<div>Hi {{c.data.firstName}}, How can I help?</div>
Then add the widget to your page.
thank you for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2025 02:07 AM
Glad to help.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader