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?
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.
Perfect! But one more thing. Is it possible to show block in this way while designing?
Yes, you still use that popup widget from Outsystems,
Just need to drag the block into that popup.