Displaying Views Dynamically

Hi, I have been trying to Dynamically Display views in Outsystems but I have not been able to figure it out. An example would be to have a list of avalible views and the user clicks on the one they want to see, it would then go to another page where the table will be shown with the information in said view. It seems like Outsystems would like me to create a new table for each view  (and have an if statement toggle the display) instead of passing the viewname into the page's table. Is there any way to work around this?
Hello Luka,

It really depends on what you are trying to do. You can try to work around with css and extended properties on your table or containers.

Let me give you an example and you see if it suits your case, or if you can adapt something: suppose that your views are different only on the columns you want to show:
1. Create a page with one table with all the columns
2. On the table, insert an Extended Property with the name 'viewname' and the value equal to the page input parameter 'viewname'.
3. On the css, create something like

table[viewname='view1'] td:nth-child(3) {
to hide column number 3 in view1.

Let me know if this helps.

Best regards,
Pedro Vieira