Html input field in Glide modal window #2066
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note on previous PR :
[https://github.com//pull/1898]
A previous pull request containing this implementation was closed due to concerns about missing attribution and similarity to a community post.
I want to clarify that I am the original author of both the pull request and the related community post:[ServiceNow Community: Add HTML Input Field in GlideModal Window]
POST LINK : [https://www.servicenow.com/community/developer-forum/add-html-input-field-in-glidemodal-window/td-p/3326479/page/2]
#visual Proof


This submission is a properly documented resubmission of that work. Feedback is welcome to improve further.
PR Description:
This contribution demonstrates how to add an HTML input field (including rich text inputs) inside a GlideModal window in ServiceNow. The approach uses a UI Page containing WYSIWYG editor fields like TinyMCE, rendered inside a GlideModal triggered via a UI Action.
Use Case:
-Create a UI Page (e.g., rich_text_modal) containing input fields such as short description (string) and description (Rich Text/HTML).
-Create a UI Action (e.g., "Add Details") on a target table (e.g., Incident) to open the UI Page in a GlideModal.
-User opens the modal and inputs data without navigating from the record page.
Pull Request Checklist
Overview
Code Quality
Repository Structure Compliance
Core ServiceNow APIs/Server-Side Components/Client-Side Components/Modern Development/Integration/Specialized Areas/Documentation
Restrictions
VIsual Proof