- 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
- 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.
- 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
- 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.