---
title: Change primary relation
slug: change-primary-relation
docTags: 
createdAt: 2025-12-08T17:49:43.759Z
---

## Feature description

By default, the contact property (**Name**) is set for activities in the `Activity` definition. However, the Portal now allows you to select a different property in the `Activity` definition to display in the activity action, node and timeline.

For example, here's the **"Name"** property replaced with **"Organization"** in a **"Quick action".**

![Replaced default contact property in quick actions](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/vwiF6pMelAh6ZiBJG_vgQ-20251208-172034.png "Replaced default contact property in quick actions")

![Replaced default contact property in an activity node](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/4Uc4NMSN2tQO1sbe8SZux-20251208-172157.png "Replaced default contact property in an activity node")

How it will look after registering a new activity

![Reference in the timeline tab](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/aAT3oR2CINc3s4IP6SBJq-20251208-172245.png "Reference in the timeline tab")

## Property settings

A new **"Activity settings"** section has been added to the Portal settings **(requires "Portal administrator" permissions)**. Here you can select a property in the "Activity" definition to display in the activity action, node and timeline.

![New settings](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/sf0m4m2xC8nHCcPyPWs9v-20251208-172644.png "New settings")

New properties can be added to the `Activity` definition in the **"Related"&#x20;**&#x73;ection with the entity type.

![Adding a new property](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/Onu09yrwu57vOqpW3aZEt-20251208-172812.png "Adding a new property")

1. Section where to add new properties
2. &#x20;The old **"Name"** property (included out of the box)
3. &#x20;The newly added **"Organization"** property

## Display settings

Data display for quick action properties and activity nodes can be customized, including the **label and description.**

![Display a custom label and description](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/EGCZ034hwP7qxxRKN96ad-20251208-173108.png "Display a custom label and description")

1. Property label
2. Tooltip with description

***

![](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/EntTDI6ZqQzdElSnX2mRL-20251208-173344.png)

1. "Basic info" section
2. Setting for label localization

Property labels are configured in the definition settings for the desired property. Open the settings for the desired property and specify the label name for different languages in the "Basic info" tab.

:::hint{type="info"}
If label data is not specified for a specific application language (the language the user is working in), the translation from the default language of the current tenant will be used. If this is also empty, the first existing translation in the list will be used.
:::

***

![Add a custom description](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/hQ1JiAaD7SbRrgp6OyVwB-20251208-173525.png "Add a custom description")

1. "Description" section
2. Setting for localizing the public description (the external one, which the user sees in the Portal)

You can similarly configure the description for the property that will be displayed in the tooltip. Property descriptions are also configured in the definition settings for the desired property. Open the settings for the desired property and, in the "Description" tab, specify the property description in the "External Description" section. **Selecting a description to display works on the same principle as a label**

## Timeline

After registering a new activity, it can be seen in the assigned data timeline.

- If the activity is filled in progress - the process timeline
- If the activity is filled in progress, the user to whom the task was assigned is registered (in addition to the contact property or another custom property) - the timeline of that user's contact.
- If the activity is registered to a contact (default property) - in the contact timeline
- If the activity is registered to an organization (new field from the example; in your case, it could be any other entity) - in the organization timeline (or the entity you selected)

Also, if these are tasks and they are assigned to someone, this information can be seen on the dashboard.

![Display activity in the timeline tab](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/aAT3oR2CINc3s4IP6SBJq-20251208-172245.png "Display activity in the timeline tab")

1. Data from the new activity property

***

To make it easier to work with activity data that was created before the custom property selection feature was implemented, the timeline now features a list of multiple activity properties — the old default and the new one selected in the portal settings.

![Display activity with multiple reference in the timeline tab](https://api.archbee.com/api/optimize/5goaGPkGyPYxtK7K75CEC/X7Xd89ayhHKUBMAIf76Y8-20251208-174020.png "Display activity with multiple reference in the timeline tab")

1. default property (contact)
2. a new field (organization)
