25
Views
3
Comments
Solved
How to create custom reusable popup?
Question
Application Type
Reactive

I need to have a close button on all popups in my application. I would like to have a reusable component, similar to the OutSystems popups, but with a close button. It should work the same way – I should be able to drag and drop it from the ODC Studio side menu and have the ability to perform the same actions as with the default popups.

Is it possible to achieve this behavior?

2025-12-04 09-01-03
Kiet Phan
Champion
Solution

Hi, it's definitely possible, you can create a block, with a close button on top or bottom.

The Close button will the trigger an event, that can be handle by screen using it. 

Then drag a place holder for content.

Lastly, in order to display it in the tool box, you need to set the icon and description for the block.

UserImage.jpg
Łukasz Kaproń

Perfect! But one more thing. Is it possible to show block in this way while designing? 

2025-12-04 09-01-03
Kiet Phan
Champion

Yes, you still use that popup widget from Outsystems,

Just need to drag the block into that popup.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.