It would be great if databases could remember the last selected view.
What I mean is: when I embed a database on a page and choose a custom view, it resets to the default view when I reopen the page.
Because of this, I currently have to create multiple versions of the same database just to show different views.
If view selection could be preserved, a single master database could serve many purposes by simply switching between saved views that don’t reset.
Are you referring to the new Bases feature in Obsidian v1.9.x?
If so, does ![[my.base#view name]] work for you?
https://help.obsidian.md/bases/create-base#Embed+a+base+file
I also would like this feature.
Embeding existing view with “#” is not very helpful, because it only set the default view for the note, but not allow to dynamically change it as we switch between views. If I have a lot of views and switch between them all the time, I want to be able to continue to work with the one that was opened the last time.
We could implement this in one of the many “remember cursor position” community plugins but as far as I’ve seen, there is no plugin API for bases added yet
Use case or problem
I got a big amount of reference images separeted by categories that I put onto various .base files and selected a card layout in a custom view I called “Image View”, but everytime I reopen the file or the vault it defaults to “Table” and I’m forced to manually sets everything again to “Image View” . That’s especially frustrating when I open my Canvas with all the Bases embeded and all of them defaults to “Table” view.
Proposed solution
Save the last choosen view and starts the file in this view, just like “Properties” in notes starts opened or closed depending on how you let it last time.
Current workaround
For now, you can delete all other view options, or configure the first option to act like your default one.
Up vote !
Same situation here.
I have the same “base” duplicated three times in a single note. Each of this iteration corresponds to specific “view” (view1, view2, view3).
When i close and reopen this note, all the 3 views are set on “view1”.
Not a solution, however you can select the default view by dragging and dropping it to the first spot.
Agree that this would be neat. To learn how to use bases I created one base in the GUI, deleted the initial table and created two views (filter 1; filter 2) - then I had a note like:
Demo - Show view with tag filter 1
![[Example Base.base]]
Demo - Show view with tag filter 2
![[Example Base.base]]
If I close and reopen the note - the second view is reset back to filter 1 (because its the first view) even if I set it to view two earlier. Maybe I’m not using it in the intended way yet, but just recording here what I expected to happen!
First time posting, thanks for such great software I use it every day!
This is a “must have” in my opinion, otherwise the ‘view’ option loses its power, having to change it from ‘all’ to a filter every time is quite annoying.