J.
mvp_badge
MVP
Make InScreenPreview a standard property of a webblock
771
Views
3
Comments
Implemented
Frontend
OutSystems 8.0
Sometimes you have tons of webblocks in 1 screen based on certain criteria.
Now sometimes those webblocks are surrounded by if's or other condiional criterias.

The view of those screen are horrible if you have more than X webblocks.

a solution to that is in the screen of the webblock itself you can have an if-statement with "screenpreview=true", but I do not like that solution.

If we could have a property to set/unset wether we want to see the webblock as is or as a text/image and then add a text or image.

this makes my life more easier and hopefully others as well :)
Evert van der Zalm
mvp_badge
MVP
Why didn't I thought of that one....
Gonçalo Borrêga
In version 8 we made that possible using the Conditional content in webblocks (combined with Ifs)
Check it out... https://www.outsystems.com/help/servicestudio/8.0/Web_User_Interface/Present_Conditional_Contents.htm
Evert van der Zalm
mvp_badge
MVP

Hello Goncalo,


I think that isn't really the right solution. If you set it true or false some content isn't shown in your webblock. And show both still can show 'wrong lay-out elements'.

Kind regards,
Evert