mirror of
https://github.com/anyproto/docs.git
synced 2025-06-08 05:47:05 +09:00
25 lines
1.2 KiB
Markdown
25 lines
1.2 KiB
Markdown
# How to add relation to multiple objects
|
|
|
|
### **Using a Type**
|
|
|
|
Let's look at an example. Say you need to add a new relation `Color,` to your **Type** `Cat`. And you already have 10 objects of this type.
|
|
|
|
1. You need to open [library.md](../fundamentals/library.md "mention")
|
|
2. Find and open the [type](../fundamentals/type/ "mention") `Cat`
|
|
3. Add a new [relation.md](../fundamentals/relation.md "mention") `Color` there.
|
|
|
|
When you open any object `Cat` you will find `Color` in relations view and in `/` menu.
|
|
|
|
{% hint style="warning" %}
|
|
You cannot edit the default relations in types\*\* created by Anytype\*\*. But you can use [set.md](../fundamentals/set.md "mention"), which can be used to create a relation in existing objects.
|
|
{% endhint %}
|
|
|
|
### **Using a Set**
|
|
|
|
Say you need to add the relation `Related` to all your `Tasks`. You can't change the default relations for this Type.
|
|
|
|
1. [#create-a-set](../fundamentals/set.md#create-a-set "mention") with type Task
|
|
2. Add a new column. Settings → Relations → \*\*+ \*\*→ `Related`
|
|
3. Each object in the Set will now show this relation. Also, see will see at as **suggested** in each object.
|
|
|
|
.gif>)
|