Skip to Content (Press Enter)
OutSystems.com
Personal Edition
Community
Support
Training
Training
Online Training
Developer Schools
Boot Camps
Certifications
Tech Talks
Documentation
Documentation
Overview
ODC
O11
Forums
Forge
Get Involved
Get Involved
Jobs
Ideas
Members
Mentorship
User Groups
Platform
Platform
ODC
O11
Search in OutSystems
Log in
Get Started
Back to Forums
Michael Deroche
233
Views
8
Comments
Creating a popup window
Question
Is there any component built into OutSystems that allows me to create a generic popup window?
I watched this training video: https://www.youtube.com/watch?v=tGD2UmwT52c
But that seems to use some sort of global popup template and is only used to edit a table record.
I'd like to just make a generic popup (there would be many, not just one) with anything in it. My popups would not necessarily be for editing table records, and each would be different (not sure if this is possible with that global template unless I use many IF blocks, which I do not want to do).
Is this possible in OutSystems or do I need to make my own widget for this?
Tiago Neves
Mike,
The popup window is a webscreen like the others. You can just change the layout to whatever you want.
Edit the screen the same way.
Michael Deroche
How do I choose which screen to show for the popup? I don't see an option for that in the properties panel:
Tiago Neves
You have to select a link or button, of which you need to give a name so you can see it to select it.
And it's on that link or button that you choose where to go, by choosing onclick method to navigate and as destination the webscreen.
Michael Deroche
Got it, thanks Tiago!
Tiago Neves
I forgot... The On Notify on your image is the action you want to run once you close your popup. When you close it, the On Notify will take care of the request.
André Vieira
Staff
And to trigger that On Notify you must use the Popup_Editor_Notify action.
João Fernandes
Michael, I don't think you understood the dynamics of how that pop-up component works.
You implement some screen, with the layout and functionality you wish
On another screen you already have, you add a link to this new screen
Next to that link, you add the pop-up widget. That widget will open your new screen inside a pop-up, instead of redirecting the user.
So you don't specify the screen on the pop-up widget properties. What defines what the pop-up will show is the link you've created.
Michael Deroche
Thanks for your assistance everyone! I got it working--the way I thought it worked was slightly different than how it is implemented.
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
See the full guidelines
Loading...