Dynamic Base Filters: Update Base Filter on Entity Rename (Filename, Folder)

Use case or problem

Adding a links to or in folder filter in a base view and then renaming the file or folder doesn’t update (rename) it in the filter.

Proposed solution

Update the entity in the filter when it’s renamed.

Note: Adding this feature is complicated and may take some time.

Related feature requests

Wrangling Entities (Overview): Wrangling TagsWrangling PropertiesRenaming List Property OptionsUpdate Template FolderUpdate Base on Property Rename/Delete

To make this a bit clearer, I created two files, representing a typical use-case: A project lists all tasks that reference it in a property.

Renaming the project now updates the properties’ values but the task is gone because the enlisting base is still on the old value.

Test-Case.zip (498 Bytes)

This would also better support importing notes/bases from other services.

Specifically, the notion-api importer created by the Obsidian team. When this importer imports notion databases it filters by a base field added to each note frontmatter which links back to the parent base.

When a base gets moved, the link in the filter doesn’t get updated and the base becomes empty. It is then necessary to manually update the filter to get those notes to show up in the base again (since the links in the frontmatter do get update when the base is moved).