Add custom field to dialog popup when click on Propose to major incident button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 03:45 AM
When a user click on Proposed to Major Incident from form Context menu, then this dialog pop-up and it has two fields, my requirement is to add one more mandatory custom field here.
Field Name :- Managers Group
Type: Reference(sys_user_group)
Help me in this... Please share whole steps end to end ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 03:57 AM
it is calling a UI page. Did you check the UI page and you can add the reference field in it?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 04:18 AM
Yes i checked it, but i dont understand anything, can you provide me step to step proceduce, that i follow and fulfill my requirement, Hope to you.. its my urgent requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 04:50 AM
I can guide you but cannot share the complete script.
Name of UI Page: mim_propose
use <g:ui_reference> jelly tag and include a reference field on that UI page
Something like this
<div class="form-group">
<label class="col-sm-2 control-label" for="mim-propose-business-impact">${gs.getMessage('Managers Group')}</label>
<div class="col-sm-10">
<g:ui_reference mandatory="true" name="group" id="group" table="sys_user_group" query="active=true"/>
</div>
</div>
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2023 05:02 AM
working, but not shown mandatory