GlideDialogWindow/GlideModal are not working on service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2022 11:30 AM
Hi All,
I have written one Catalog client script and in that i have used GlideDialogWindow for pop up on SP and also i have used GlideModal still its not working.
Please guide me here what i need to use to call the UI page from OnSubmit() catalog client script for customize pop up on SP.
Catalog client script:
Type: OnSubmit
UI Type: All
var short_text = g_form.getValue("short_description");
var dialog = new GlideModal("attach_parrent_dialogbox");
dialog.setTitle("Similar incidents");
dialog.setSize(750,300);
dialog.setPreference("short_text", short_text);
dialog.render();
Please guide on the above one.
Any help is appreciated!
Thanks in advance!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2022 03:56 PM
Hi @J P Rohini ,
I don't think so both method supported on SP
please check below link to get the more information and alternative solution.
I hope this helps
Please mark my answer correct if this helps you
Thanks
Mohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022 01:05 AM
Hi Mohit Gupta,
Thanks for the input!
I have tried, but not working as expected.
Do you have any sample scenario?
Thanks,
Rohini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2022 02:15 AM
Hi @J P Rohini ,
Please find below link to have modal on Service Portal.
https://serviceportal.io/modal-windows-service-portal/
And below link will help to check other thing
https://www.servicenow.com/community/developer-forum/modal-widget-in-portal/m-p/1521346
I hope this helps
Please mark my answer correct if this helps you
Thanks
Mohit