- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2014 07:09 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-16-2014 08:09 PM
this will display as link... i tried this on demo just now...
g_form.addInfoMessage("<a href='"+location.href+"'>"+location.href+"</a>");
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2014 01:52 AM
Hi, finally i used g_form.addInfoMessage() as u suggested. thnks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-18-2014 01:56 AM
close of the loop and mark the response as answered .. thanks ....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2017 07:30 AM
Hello kalaisaran
I had a same requirement and created a UI page as you suggested above. I'm calling the UI page via Catalog client script ( onChange )as below.
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
var x = g_form.getValue('computer');
if(x == 'mac')
{
var dialog = new GlideDialogWindow('alertpopup'); // 'alertpopup' is the UI page
dialog.setTitle("Please Check Macbook instructions");
dialog.setSize(500,200);
dialog.render();
}
}
I can see the pop up box in the ITIL/Instance view, but if i run the test via Service Portal, I do not see the alert pop up box. Is there something we have to tweak the code to make it work in the SP view as well? Any thoughts ?
Regards!
Nitin K

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2017 08:28 AM
Sorry. When it comes to service portal, I am all at sea right now!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2017 12:04 PM
LOL. I can understand. A quick question, is it possible to call a Portal widget via catalog client script ?
Regards!
Nitin K