The customized Ui action is not working in workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 04:18 AM
Hi All,
i have a requirement to add the custom ui actions in configurable workspace case form.
but it is not working actually.
below is the code :
- Labels:
-
@
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 04:37 AM
The getPreference('title') method does not return the title of the dialog
Removed var title = gm.getPreference('title'); This line was unnecessary as getPreference('title') does not retrieve the modal’s title. The title is set directly with gm.setTitle()
function displayPopUp() {
var gm = new GlideModal('comm_plan_select');
// Sets the dialog title
gm.setTitle('Send Initial Engagement for ' + g_form.getValue ('number'));
// Sets preferences for the modal
gm.setPreference('param_sys_id', g_form.getUniqueValue());
gm.setPreference('param_table', g_form.getTableName());
gm.setPreference('param_type', 'Initial Engagement');
gm.setWidth(550);
// Opens the dialog
gm.render();
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 09:04 AM
Workspace client script doesnt support glidemodal. Follow the below article which might help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2024 05:08 AM
Hi Sam, i have tried the g_modal.showframe, the popu upis appearing but form is not submitting and parameters are not passed.