Including scoped application UI page in scoped application UI action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-15-2018 11:33 PM
I want to override default UI action for delete a list record. I have defied a custom UI action in my scoped application for the same. As a part of UI action, I want to show confirmation dialog and for which I have defined scoped UI page.
Now when I am trying add the scoped UI page for my dialog, I am getting page not found error. However If I define my UI page as global, then I am able to get the dialog as expected.
Is it not possible to include scoped UI page in scoped UI action?
- Labels:
-
Scoped App Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2018 12:14 AM
Found a working solution at UI Page Scode Issue
In a scoped application, provide the GlideDialogWindow full name of UI page including the application scope name like [scope prefix] + [_]+ [UI page name]. While appending the application scope and UI page name use '_' to append the names.
For example, if application scope is 'x_my_app' and the UI page name is 'my_delete_dialog' then the name that will be provided to GlideDialogWindow will be like 'x_my_app_my_delete_dialog'
var dialog = new GlideDialogWindow('x_my_app_my_delete_dialog');
dialog.render();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-16-2018 12:16 AM
Found a working solution at UI Page Scode Issue
In a scoped application, provide the GlideDialogWindow full name of UI page including the application scope name like [scope prefix] + [_]+ [UI page name]. While appending the application scope and UI page name use '_' to append the names.
For example, if application scope is 'x_my_app' and the UI page name is 'my_delete_dialog' then the name that will be provided to GlideDialogWindow will be like 'x_my_app_my_delete_dialog'
var dialog = new GlideDialogWindow('x_my_app_my_delete_dialog');