decaf-dev / obsidian-dataloom

Weave together data from diverse sources and display them in different views. Inspired by Excel spreadsheets and Notion.so.
https://dataloom.xyz/
MIT License
899 stars 32 forks source link

Backlink support #917

Open Navirl opened 6 months ago

Navirl commented 6 months ago

Problem

I find a file in a search and then try to find a file that links to that file (i.e. looking for backlinks like dataview or obsidian core plugin). However, dataloom does not seem to have the ability to display backlinks. Do you have any plans to implement this? I tried to implement it myself once, but could not figure out the extent of the code changes that would occur when adding this to CellType.

Solution

Add backlink support to dataloom

Additional details

get backlinks from API. https://forum.obsidian.md/t/how-to-get-backlinks-for-a-file/45314

decaf-dev commented 5 months ago

For DataLoom, the renderMarkdown function is used from the Obsidian API but I don't believe that it creates any backlinks. If it does, I don't believe it is possible to inject them into the search results. There a lot of limitations with the Obsidian API that discourage me from developing DataLoom further.

decaf-dev commented 5 months ago

EDIT: I just reread the original post. You are wanting to display backlinks in the table for referenced files?

Navirl commented 5 months ago

Yes. Specifically, I would like to do this. (Created by Notion)

スクリーンショット 2024-01-09 012454

This is shown as a multi-select, but a link is better.