Linked Sets: Craft a Notion like linked Database in Anytype

Hi Everyone,
while testing out Anytype I found a way to craft a Notion like Linked Database with existing sets, relations & objects. I was surprised that this is possible :star_struck: so I want to share it for anyone who is interested.

Ingredients:

What you need for this… :cucumber: , :pancakes: , :peanuts:

  • 2 different sets
  • 2 diferent objects
  • 2 different relations
  • maybe 1x page with inline sets of both sets to display it on a single page

Preparation:

What you need to do… :scissors::cucumber: , :fire::cut_of_meat:
Since there isn’t a bidirectional linking possible in sets yet (or not that I know of :eyes:)we have to link it in both ways separately.

  1. Crate (if not existent) 2 different objects. example: Task & Project
  2. Create Relation in set 1 to which should be pointed/linked to object of set 2.
  3. Name the Relation after the chosen object. example: Task
  4. Do it with in the other direction with the other relation & object too…
  5. Et voilà :star2:

Hope this helps.

Hey @AnyChris, what a nice approach! Thank you! We will definitely work on “bidirectional linking” as you suggested.

Any news on bidiractional links?

@AnyChris, thanks for that. Exactly what I want to do.

But, you missed some important details. The How-To.

I am going to paste this long post. It helped me understand the core of the problem. Which is how to make the relations, and what relations.

I want to do a tag-like setup. I will keep Anytype tags for specific sets — morning, afternoon, evening are good tags for Tasks, not Bookmarks. Bookmarks can have different tags.

I want to have a type which can be applied everywhere. I am calling it Label Labels can be applied to Tasks, Bookmarks, Notes etc.

Example Labels are Apple, Google, WordPress.

I want to apply the label ‘Apple’ to the task — ‘Update Apple ID’

When I click on the label ‘Apple’ I want to see that task, and all others with the same label.

I am being very step-by-step here because a problem is that many people assume that some person is going to know how to perform a task. I have hit a brick wall here. See below.

I created a new type, Label. Based on type Page. I created a Set, for all type Label. The set is called Labels.

Template is Blank, Default.

I made a new object, Task. Based on type Task. I made this new object a Template.

I created my task ‘Update Apple ID’.

I made a set, Tasks.

So I have type Task and set Tasks. Type Label and set Labels.

So what exactly do I add as relations in the respective templates. Template for Task, template for Tasks? Temple for Label, template for Labels?

Don’t know and feel thick.