- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2024 07:19 AM
Any good example of a client script opening a GlideDialog window??
I am preparing for Interview any good Example will be appriceated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2024 08:07 AM - edited ‎08-23-2024 08:09 AM
Impress them more by telling them this:
This API has been deprecated, use the GlideModalV3 API instead.
https://developer.servicenow.com/dev.do#!/reference/api/utah/client/c_GlideDialogWindowAPI
Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2024 11:05 PM
Follow the Article :- https://docs.servicenow.com/bundle/xanadu-api-reference/page/app-store/dev_portal/API_reference/Glid...
// Creates a dialog window
var gdw = new GlideDialogWindow('show_list');
// Creates a read-only dialog window
var gdw = new GlideDialogWindow('show_list', true);
// Creates a dialog window that is 400 pixels wide
var gdw = new GlideDialogWindow('show_list', false, 400);
// Creates a dialog window that is 400 pixels wide and 200 pixels tall
var gdw = new GlideDialogWindow('show_list', false, 400, 200);
Below is the explanation from now_Assist.
The code block demonstrates the creation of dialog windows using the GlideDialogWindow
class.
-
var gdw = new GlideDialogWindow('show_list');
- This line creates a standard dialog window with the identifier'show_list'
. -
var gdw = new GlideDialogWindow('show_list', true);
- This line creates a read-only dialog window, preventing user modifications. -
var gdw = new GlideDialogWindow('show_list', false, 400);
- This line creates a dialog window with a width of 400 pixels, allowing user interactions. -
var gdw = new GlideDialogWindow('show_list', false, 400, 200);
- This line creates a dialog window that is 400 pixels wide and 200 pixels tall, also allowing user interactions.
If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!
Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI
ï”— YouTube: https://www.youtube.com/@learnservicenowwithravi
ï”— LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2024 08:07 AM - edited ‎08-23-2024 08:09 AM
Impress them more by telling them this:
This API has been deprecated, use the GlideModalV3 API instead.
https://developer.servicenow.com/dev.do#!/reference/api/utah/client/c_GlideDialogWindowAPI
Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2024 11:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2024 11:05 PM
Follow the Article :- https://docs.servicenow.com/bundle/xanadu-api-reference/page/app-store/dev_portal/API_reference/Glid...
// Creates a dialog window
var gdw = new GlideDialogWindow('show_list');
// Creates a read-only dialog window
var gdw = new GlideDialogWindow('show_list', true);
// Creates a dialog window that is 400 pixels wide
var gdw = new GlideDialogWindow('show_list', false, 400);
// Creates a dialog window that is 400 pixels wide and 200 pixels tall
var gdw = new GlideDialogWindow('show_list', false, 400, 200);
Below is the explanation from now_Assist.
The code block demonstrates the creation of dialog windows using the GlideDialogWindow
class.
-
var gdw = new GlideDialogWindow('show_list');
- This line creates a standard dialog window with the identifier'show_list'
. -
var gdw = new GlideDialogWindow('show_list', true);
- This line creates a read-only dialog window, preventing user modifications. -
var gdw = new GlideDialogWindow('show_list', false, 400);
- This line creates a dialog window with a width of 400 pixels, allowing user interactions. -
var gdw = new GlideDialogWindow('show_list', false, 400, 200);
- This line creates a dialog window that is 400 pixels wide and 200 pixels tall, also allowing user interactions.
If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!
Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI
ï”— YouTube: https://www.youtube.com/@learnservicenowwithravi
ï”— LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/