- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 06:10 PM - edited 12-19-2023 06:12 PM
I want to create a UI Action that opens a Modal Popup Window; this Modal window would display a number of Check boxes or Selection Boxes. Then based on the Options that the user selected, the UI Action would then call a number of different functions in a Script Include.
What is the best way to do this?
- Ideally I wanted to get the UI Action to Open a Widget as a Popup. I tried to configure my UI Action as a Client Script (by ticking the checkbox that ensure the UI Actions runs on the Client) but when I run the code, spModal is undefined. spModal appears to work in Client Scripts but not UI Actions (or maybe I am making a basic error?)
- I then thought about Using GlideModal. Apparently, you can uses this to render a UI Page. UI Pages use Jelly and are apparently depreciated. I have used them before - but not often.
- Maybe I could just use the UI Action to open a URL. This URL would then open a full blown Portal Page with my Widget included. Seams a bit overkill. Also not sure - if I can display a Portal page as a small popup Window. Can I?
So what is best practice for this scanerio?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 07:08 PM
Hi @Community Alums ,
The usual method people would use or specifically I would use is to call UI page using glide modal window. It's not deprecated. We still use it.
Else 3rs option is also good where it redirects u to a different url where that page sits.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 07:08 PM
Hi @Community Alums ,
The usual method people would use or specifically I would use is to call UI page using glide modal window. It's not deprecated. We still use it.
Else 3rs option is also good where it redirects u to a different url where that page sits.
Thanks,
Danish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2023 07:30 PM - edited 12-19-2023 07:34 PM
Yup. I think you are right.
I did try option 3 and got it working. But I had to create a portal, portal page and Widget. My UI Action had htis code (see below). Seams like overkill.