How to Render Custom HTML in Workspace Modal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
15 hours ago
I’m working in UI Builder (Next Experience) and need to display some custom HTML content inside a popup or modal.
In the classic UI, this was typically handled using GlideModal and UI Pages, but I’m looking for an approach that works well within Workspace.
What are the available options to render HTML content inside a popup in Workspace? Is there a recommended way to achieve this without relying on traditional methods?
Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
15 hours ago
Hi @PradeepReddyA ,
This can be achieved in UI Builder without using GlideModal or UI Pages.
In the Next Experience, you can use UI Builder’s popup configurations and components to display HTML content in a more modern and low-code way.
I’ve shared a detailed step-by-step approach here:
Low-Code HTML Popup in ServiceNow Using UI Builder Instead of GlideModal
Refer this article for the complete solution
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Iftekhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
15 hours ago
within declarative action you can use g_modal API
g_modal.showFrame() and then render a UI page
https://snpro.dev/2023/11/20/workspace-modals-working-with-ui-pages/
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
13 hours ago
Steps are given in this KB Article: KB2434914 Opening a Modal UI Page Inside UI Builder
Low-Code HTML Popup in ServiceNow Using UI Builder Instead of GlideModal
