18
Views
6
Comments
Solved
Create a link to Block in a pop up
Question

Hi all,


I want an icon on my page and when you click on the icon, a webblock should open in a popup.


I searched documentation on popups, but I still have difficulties to implement.


Hope the question is clear.

Thanks!

Erwin

mvp_badge
MVP
Rank: #90
Solution

Hi Erwin,

If you are working on Reactive web you can use the Popup widget for this use-case. Introduce the block within the popup widget and on the click of the icon link just toggle the show Boolean value of the popup widget.

Hope this helps you!


Kind regards,

Benjith Sam

Rank: #175

Hi Erwin, 

Look the example in attachment.

Hope this helps .

Regards.

ExamplePopUp.oml

Hello Ervin,


In addition to Benjith's post, here is the logic flow :

Step1: Create a local var of type Boolean like below-

Step2: Create an action , which will change boolen var's value :

Cheers!


Sanjay

Rank: #30605

I cannot mark more answers as a solution? But I fixed it. I created 2 actions, 1 to open the popup and 1 to close. In the popup I added a button for the close action.

Probably very stupid but I didn't get the .oml file open... It is a Outsystems file right?


Thanks!

Erwin