GlideModal not working in scoped applications

Rosen Boyanov
Tera Contributor

Hello, I'm currently having an issue with GlideModal and GlideDialogWindow. Neither seems to be working. I need to do an UI Action that opens a modal with a UI page in scoped application with a custom table. The problem is neither seems to work or open any UI page, be it in global or application scope although they don't trigger any errors either...

5 REPLIES 5

Mohith Devatte
Tera Sage
Tera Sage

@Rosen Boyanov Hello,

 

Can you try giving the end point of the UI page instead of name of the UI page .

If you go to UI page search for endpoint field and copy the end point and put it in glide modal

 

Hope this helps 

Mark my answer correct if this helps you

Thanks

@Mohith Devatte  Hello, sadly enough, I've already tried this solution as well and it seems to do nothing. I've tried it both with just the ui page name and with the endpoint.

Saurav11
Kilo Patron
Kilo Patron

Hello,

 

Can you please try it as below:-

 

Try with underscores.  if scope is sn_test and UI page name is PageTest, the call should be:

var gm = new GlideModal('sn_test_PageTest');

 

Or call the endpoint in the glide modal with the .do

 

Saurav11_0-1668445261046.png

 

If you are already doing the above try removing that if part and just call the glidemodal with the references and see if it works.

 

Please mark my answer as correct based on Impact

Hello, 
the thing I've already tried the endpoint value and it doesn't work either! The whole reason that I made this post is because no online solution seems to be working for me, for scoped/global ui pages, end point usage, even tried making the ui page public, but, to no avail.

And well, just in case I tried using the glide modal in a client script but the behaviour still remains the same, so I concluded it may be a glidemodal issue for scoped applications.

 

Thank you although!