Skip to content

Commit b0ab57c

Browse files
authored
Created README.md file and placed it in the correct folder
1 parent e626098 commit b0ab57c

File tree

1 file changed

+26
-0
lines changed
  • Core ServiceNow APIs/GlideModal/Add HTML Input Field in GlideModal Window

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Add HTML Input Field in GlideModal Window - ServiceNow
2+
3+
## Use Case
4+
This snippet demonstrates how to include HTML input fields, including rich text editors, inside a GlideModal window in ServiceNow.
5+
6+
## Real-Life Example of Use
7+
In ServiceNow ITSM, support agents often need to add detailed notes or updates quickly without losing their workflow context. For instance, when investigating complex incidents, agents can click the "Add Details" button to open a modal with rich text input to document findings, attach formatted comments, or paste troubleshooting steps. This modal dialog prevents navigation away from the incident form, speeding up data entry and improving information capture quality.
8+
9+
## Why This Use Case is Unique and Valuable (Simple)
10+
- Lets users enter rich text and HTML inputs right inside a popup window (GlideModal) without leaving the current page.
11+
- Makes data entry faster and easier by avoiding navigation away from the form.
12+
- Supports complex inputs like formatted text using editors such as TinyMCE.
13+
- Helps improve quality and detail of notes and comments on records.
14+
- Can be reused for different input forms or workflows in ServiceNow.
15+
- Works smoothly within the ServiceNow platform UI for a consistent user experience.
16+
17+
## Steps to Implement
18+
1. Create a UI Page named `rich_text_modal` with appropriate input fields (string and rich text).
19+
2. Create a UI Action (e.g., "Add Details") on the Incident table that opens the `rich_text_modal` UI Page within a GlideModal.
20+
3. Open an incident record and click the "Add Details" button to see the modal with the HTML input fields.
21+
22+
## Compatibility
23+
This UI Page and UI Action is compatible with all standard ServiceNow instances without requiring ES2021 features.
24+
25+
## Files
26+
`UI Page` , `UI Action` - are the files implementing the logic.

0 commit comments

Comments
 (0)