Add HTML Input field in GlideModal window
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2025 01:59 AM
Hi,
I want to add a HTML input field in GlideModal window (same as the attached screenshot).
is this possible? Please suggest.
@Ankur Bawiskar : Any suggestion?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2025 03:09 AM
hi @Rohit Agarwal1,
It is possible, what HTML do you want to add?
Share your configurations to be able giving you advice, you shared the screenshot but not the responsible code, is it (catalog) client script or what it is?
The better description you write the better reply you will get 🙂
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2025 07:37 AM
Hi,
Thans for reply. I created a UI Page which contains 2 input fields 'Short Description' and 'Description'. The Description field is rich text field. I want to show rich text editor in GlideModal window as I mentioned earlier.
Code (UI Page):
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2025 04:54 AM
Hi @Rohit Agarwal1 ,
Yes , it is possible to add a HTML input field in GlideModal window in servicenow.
The most common approach involves including a WYSIWYG editor (such as TinyMCE) in the UI Page that you render inside a GlideModal. This enables full rich text functionality within the modal dialog.
Steps :
1) Create a UI page: same as below add the code and save the ui page.
2. Create a UI action :
3. Open the incident record , click on the Add Details button , which opens the glide modal and includes fields like short description of type 'string' and full description of type 'Rich Text/HTML'
If my response resolved your query, please consider marking it as helpful.
Thank you,
Sriharsha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2025 07:30 AM
Hi Sriharsha,
Thanks for reply. I implemented your solution. But html field is not rendering.
I am using SN Xanadu instance.
Thank you!!