ReferenceError: GlideDialogWindow is not defined

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-27-2016 05:19 AM
function ($scope)
{
$scope.bcc_deptAdminPanel = function(val)
{
var mwW = window.innerWidth;
var mwH = window.innerHeight;
var dialog = new GlideDialogWindow('bcp_choose_bcc_to_edit');
dialog.setTitle('');
dialog.setPreference("mwW", mwW);
dialog.setPreference("mwH", mwH);
dialog.setPreference("myVar", val);
dialog.render();
};
}
I'm converting a lot of the ESS (Employee Self Service) code to the new SP (Service Portal). I call a great number of UI pages for a lot of things, but it seems that I can't call UI pages from the new Service Portal?
The above depicted code is from a Widget "Client Script" section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2017 06:05 AM
Did you try any workaround for this.? If yes, please suggest.
Because i have my UI page configured and i am using the same in catalog native view.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2018 01:25 AM
Hi,
Did you find a way to open an UI Page from the Service Portal? I have the same issue because due to an collaborate action trying to open a pop window (UI Page).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2018 04:58 AM
Nope, and you won't be able to. UI Pages use Jelly, and you can't use Jelly on the Service Portal. Any UI Page that I wanted to pull in, I've ended up converting into Angular and am SO GLAD for it too.
Trust me, you really don't want to pull in old UI pages. You can do everything in a SP Widget, plus so much more!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2018 07:27 AM
Thank you for your help. So I will go further and study this because I'm pretty new on those technologies.