I was wondering if it is possible to save webblocks in the database? I basically want to be able to show a webblock depending on a condition based on the tables. Because of the large number of webblocks, using if statements might get a bit too complicated and hence why I was trying to explore this option. Would really appreciate your help with this!

Thank you,



Hi Archit,

That's unfortunately not how a database works. A Web Block is a visual representation of data, not data itself, and you can't store it in the database. Also, if your screen requires that many If-s, I think you have made the user interface too complex, and you perhaps need to think about a redesign.