- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2018 04:15 AM
Hi All,
I am writing UI action on Incident table for 'List Choice'. I am using GlideModal in UI Action to populate a window based on some condition. Below is the code I am using,
var dialog = new GlideModal('add_selected_metadata_link_dialog');
dialog.setTitle(new GwtMessage().getMessage('Create Application File from Record'));
dialog.setPreference('current_table', g_list.getTableName());
dialog.setPreference('sys_id_list', g_list.getChecked());
dialog.render();
but I am getting the following error :
I don't know much about the GlideModal. I have simply copied the code from other UI action and pasted it in my UI action. I don't know where to define GlideModal. Do I need to define/create GlideModal somewhere (I don't know anything about it - using it for first time ). Can anyone please help me on this at the earliest.
Thanks in Advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2018 04:54 AM
Hi Mahendra,
There should be an option on the UI Action "client callable" check if that is ticked. Also please find the below community thread which has helped me in past. Hope it helps you.
How do I pass values to UI Page with glideModal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2018 04:54 AM
Hi Mahendra,
There should be an option on the UI Action "client callable" check if that is ticked. Also please find the below community thread which has helped me in past. Hope it helps you.
How do I pass values to UI Page with glideModal?