Glidewindow catalog client script Onload not working on service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2019 12:49 AM
hi All,
I have created a catalog client script on Load using glidewindow. When i tested on Portal it is triggering the Java console error. Kindly help
function onLoad() {
var dialog = new GlideDialogWindow('EAP_popup');
dialog.setTitle(new GwtMessage().getMessage('Confirmation'));
dialog.setSize(750,1000);
dialog.removeCloseDecoration(); //Remove the dialog close icon
dialog.setPreference('cancel_url', '/google.com');
dialog.render();
}
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2019 03:39 AM
Ok, So what should i use as i have a requirement where i need to popup a message on load of catalog item with the checkbox

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2019 03:42 AM
Hi
As mentioned above, you can make use of spModal in onLoad client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2019 03:43 AM
do i need to create a widget as well because i have created UI page for this

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2019 03:45 AM
Can you show what exactly what you are trying to configure? Show us your Ui Page and it's purpose.
Regards,
Omkar Mone
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-10-2019 04:05 AM