GlideDialogWindow scoped app RP.getWindowProperties()
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2016 09:41 AM
Hello,
It doesn't seem that RP.getWindowProperties() works when using a GlideDialogWindow with a scoped UI Page. Anyone have any idea is this is expected or if it's possible to pass preferences to a UI page from a dialog in any other way?
Thanks!
Dan
- 5,009 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2016 11:39 PM
Hi Daniel,
you better use GlideDialogForm(UI page,"scope_of_the_ui_page"); istead of GlideDialogWindow(). Since GlideDialogWindow won't work while using ui page, which was created inside the scoped application.
Thanks,
Kavishree S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2017 12:36 PM
I'm having the same issue, neither GlideDialogForm and GlideDialogWidnow seems to work, I'm calling it this way
var gdw = new GlideDialogWindow('x_12345678_myappname_the_ui_page'); and this is rendering the page as planned but RP.getWindowProperties() is not getting values instead I get "null"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2018 07:00 AM
I found help from this page :
Note: For scoped applications, the RP.getWindowProperties.get() method is not avaliable. Instead use the syntax RP.getWindowProperties.<property>
, where <property>
is the dialog box property that you want to obtain. For example, RP.getWindowProperties().get('title')
would beRP.getWindowProperties().title
.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2018 03:20 PM
Thanks, this helped a lot !