Glidewindow catalog client script Onload not working on service portal

Piyush291
Tera Contributor

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();
}

16 REPLIES 16

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

Hi 

As mentioned above, you can make use of spModal in onLoad client script.

do i need to create a widget as well because i have created UI page for this

Can you show what exactly what you are trying to configure? Show us your Ui Page and it's purpose.

 

Regards,

Omkar Mone

Below is the message which i need to show when user pen the catalog item.

find_real_file.png