- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 02:37 AM
Hi All!
Here on the pop-up based on CI i need to fill the other service, application service and service offering fields and save it on incident form.
How do i do that ? can anyone help me with this.
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 05:03 AM
you want to auto-populate then make the fields readonly on UI page.
if you want to auto-populate and also allow user to select other value then check this link how to set reference field on UI page when UI page loads
check this link and enhance as per your requirement
Store value in reference field of ui page using client script
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 03:03 AM
Is this pop-up out of the box?
I think it's custom and an UI page.
You might have to use onChange event on that HTML field and use GlideAjax to fetch the value and then set it.
Why not do this?
1) create a view on incident table with the limited fields as shown in screenshot
2) when user clicks the button show that view for new record and user can submit directly. there it's normal form and you can use normal onChange client script and use GlideAjax to fetch and set the value.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 03:47 AM
Hi @Ankur Bawiskar
This pop-up is OOTB , but i have added 4 fields on it.
Creating of new view on incident, this will not support my requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 03:49 AM
so is it an UI page?
so did you try creating onChange on that reference field?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2023 03:52 AM
@Ankur Bawiskar
Correct its an UI page
as UI page is new to me , i tried different methods.. did not get it