- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
i want to add event message in service portal for can you guide me how to add it
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @savanthsant ,
where you want to show the message ?
1) If you are in widget and need a dynamic pop-up event message, you can pass a string directly to the client controller using :
spUtil.addInfoMessage('Your Message');
2) If want to add an event message or broadcast alert in the Service Portal then you can use Announcement to display a banner :
Refer here : How to New message in servicenow portal Banner
If my response helped mark as helpful and accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @savanthsant ,
When you have to show message ? after certain action performed or onload event or just banner announcement ?
For widget level :
You can use : spUtil.addInfoMessage('This is an info message!');
For global announcement :
You can refer this :https://www.servicenow.com/docs/r/xanadu/platform-user-interface/service-portal/announcements.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
hi @savanthsant
Could you please explain your requirement, as it is not clear for me like what exactly you need to acheive.
Happy to help! If this resolved your issue, kindly mark it as the correct answer ✅ and Helpful and close the thread 🔒 so others can benefit too.
Warm Regards,
Deepak Sharma
Community Rising Star 2025
