How to add switch option to change the view between table and card in published doc?

There’s no option yet to switch views programmatically and there’s no option to create multiple views in a tab like setup (like Notion). There’s a couple of options to fake it/hack it.

  1. Create your two table views on 2 different pages and places buttons or links from one to the other like this.

  2. Create a “Switcher” table with a canvas column in a “Detail” view. Then for each view you want create 1 row and in the canvas column put the view you want. @Brian_Roech_Roehrich offered up this idea on this post.