> For the complete documentation index, see [llms.txt](https://docs.antsomi.com/cdp-365-user-guide-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antsomi.com/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes.md).

# Attributes

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FNosPEYFlwaKPYFZ5qvoA%2Fimage.png?alt=media&amp;token=b0f05792-7542-4c1d-bd6b-15fc5a0dd8f6" alt=""><figcaption></figcaption></figure>

## Create a new attribute

1. Click ![](https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2Fs5AjYLlktQPVEJSSdic9%2Fimage.png?alt=media\&token=6c7598cb-2c52-4793-9ad0-cb020a46f2f3)to create a new attribute&#x20;

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FYZ8xfuGLN2Uo386TaeIN%2Fimage.png?alt=media&amp;token=b6ff5f1b-dec6-4382-8ced-f7bb077a72cc" alt=""><figcaption></figcaption></figure>

2. Choose Attribute Types&#x20;

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FExe1vrdG0lZVGG9zWMJD%2Fimage.png?alt=media&amp;token=ea96ff0e-9267-4d8f-a832-dcd86a69f652" alt=""><figcaption></figcaption></figure>

3. Input the necessary information

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2F7cmJIPdyL6Ss3BIon3pW%2Fimage.png?alt=media&amp;token=7a134c73-4f74-464d-a541-9a6ff478e1ad" alt=""><figcaption></figcaption></figure>

* **General Information:** The basic & descriptive information about the attribute
* **Setting**
* *Data Type*: The type of data to be recorded in the attribute
* *Display Format:* The format that the data will be displayed. The format will depend on the chosen Data Type
* *Is required*: Mark this attribute as required meaning in the data pushed to the BO, this attribute must have value, if not it will be rejected.
* *Personal Identifiable Information*: Mark the attribute as PII and encrypt the data recorded in the data table. Only accounts having the [decrypt permissions](https://docs.antsomi.com/cdp-365-user-guide-en/portal-settings/data-encryption#decrypt-permission) are able to decrypt it.&#x20;
* *Enable Data Encryption*: Encrypt the data in the attribute
* *Is Identity Attribute:*&#x20;

4. Click **Save** to save

### Attribute Types&#x20;

<table><thead><tr><th width="81">No</th><th>Attribute Types </th><th>Description </th><th>Setting of attribute</th></tr></thead><tbody><tr><td>1</td><td>Custom Attribute</td><td>The attribute in which data does not need to compute</td><td><a href="/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/custom-attribute.md">Custom Attribute Setting</a></td></tr><tr><td>2</td><td>Computed Attribute</td><td>The attribute in which data need to compute by the system</td><td></td></tr><tr><td>2.1</td><td>Event Counter</td><td>Count occurrences of an event</td><td><a href="/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/event-counter.md">Event Counter Setting</a></td></tr><tr><td>2.2</td><td>Aggregation</td><td>Aggregate functions include min, max, sum, and average. It is calculated based on values ​​of an event attribute</td><td><a href="/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/aggregation.md">Aggregation Setting</a></td></tr><tr><td>2.3</td><td>Most Frequent</td><td>Returns the most common value of an event attribute</td><td><a href="/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/most-frequent.md">Most Frequent Setting</a></td></tr><tr><td>2.4</td><td>First</td><td>Returns the first received value of an event attribute</td><td><a href="/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/first.md">First Setting</a></td></tr><tr><td>2.5</td><td>Last</td><td>Returns the last received value of an event attribute</td><td><a href="/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/last.md">Last Setting</a></td></tr><tr><td>2.6</td><td>Unique List</td><td>Stores a list of unique values of an event attribute </td><td><a href="/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/unique-list.md">Unique List Setting</a></td></tr><tr><td>2.7</td><td>Unique List Count</td><td>Counts the number of elements in a unique list</td><td><a href="/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/unique-count.md">Unique List Count Setting</a></td></tr><tr><td>2.8</td><td>Conversion Attribution</td><td>Finds winner of a conversion event using attribution models</td><td><a href="/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/conversion-attribution.md">Conversion Attribution Setting</a></td></tr><tr><td>2.9</td><td>Virtual Custom Function</td><td>Returns output of your custom function</td><td><a href="/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/virtual-custom-function.md">Virtual Custom Function Setting</a></td></tr><tr><td>2.10</td><td>Schedule Custom Function</td><td>Returns a scheduled-updated output of your custom function</td><td><a href="/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes/computed-attribute/schedule-custom-function.md">Schedule Custom Function Setting</a></td></tr></tbody></table>

{% hint style="info" %}
Each Attribute type has particular information, go to a specific attribute type to see its setting&#x20;
{% endhint %}

## Attribute Action

Select at least one Attribute and click on Edit will show possible actions for the selected Attribute

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FSmYFt5fsvgBQSaDzUUQC%2Fimage.png?alt=media&amp;token=e699edab-94a6-4ff5-b921-3c385c096eca" alt=""><figcaption></figcaption></figure>

### Enable attribute

When enabling the attribute will change the state of the attribute to Enabled.

If within a specified time the attribute is not used anywhere, the state is changed to disabled

### Disable attribute

Disabling the attribute changes the state of the attribute to Disabled. This will then block the input of the attribute. Attribute cannot be used in any function.&#x20;

If, within a specified time, the attribute is not re-enabled, the attribute will automatically change its state to archived.

### Archive attribute

When archive attribute will block all output and input of attribute. Then the attribute will not show up in any attribute selector list.

If within a specified time period, the attribute is not enabled, it will be deleted forever.

### Recover

Restore archived attribute.

During recovery, the attribute's state can be changed to enabled or disabled.

### Copy an attribute

CDP 365 allows you to make a copy of an attribute. This helps you quickly create a new attribute based on the original with flexible customize

<figure><img src="https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FQ1igBbLfFgb5XW9HIV4f%2Fimage.png?alt=media&amp;token=ded869da-25c6-47bb-bb24-9d05aef263a9" alt=""><figcaption></figcaption></figure>

Following the steps below to make a copy of an attribute:

1. Select an attribute that you want to make a copy
2. Click **Edit** and select **Make a copy**&#x20;
3. Customize the setting&#x20;
4. Click **Save** to save&#x20;

For example, you have an attribute that is a list of keywords searched for 30 days. You need to create an attribute that is a list of keywords searched for 14 days; now you just make a copy and customize the date range instead of creating and setting whole attribute information

## Edit an attribute setting

Following these steps:

1\. Click the name of the attribute that you want to change information on the data table

2\. Enter the changed information

3\. Click **Save**

## Add attributes to a group&#x20;

You can add attributes that have the same characteristic or usage to a group. See more about [Groups](/cdp-365-user-guide-en/data-hub/business-objects/data-objects/groups.md)

## Display the newly created attribute on the Data table&#x20;

To display the newly created attribute on the [Data table](/cdp-365-user-guide-en/data-hub/business-objects/data-objects/data-table.md), use the [Modify Column](/cdp-365-user-guide-en/cdp-365-introduction/cdp-365s-interface.md#customize-display-columns) utility

## Attribute Computation Histories&#x20;

### View Attribute Computation Histories

Click the icon ![](https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FfiD7L490tRVVsfEuOGDI%2Fimage.png?alt=media\&token=404f9add-66f0-4768-bfc5-b7b25e9abb74)on the attribute display to view the Attribute Computation Histories

### Attribute Computation Histories Data table

It presents a data table containing information about attribute computation

* **Computation ID:** Every time attribute is computed, it will have an ID
* **Name:** name of the attribute
* **Attribute Type:** type of the attribute
* **Computation trigger:** Trigger by the user or Scheduled Update
* **Computation status:** Status of the computation (Success, Computing, Unsuccess, Paused, Waiting)
* **Computation started on:** the date and time that the computation starts
* **Computation ended on:** the date and time that the computation ends
* **Computation duration (sec):** The duration of computation (in seconds)
* **Computation output:** Number of outputs that satisfy the condition after finishing computation
* **Error info:** Error code that caused compute failed

## Status of attribute

You can change the status of an attribute by switching the button![](https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2FxHKoFyXHemLjBIJWkJPz%2Fimage.png?alt=media\&token=1bb6aee4-8829-47aa-8c0e-4937da018978)or ![](https://826840553-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbtU4vFUxT5JkWYHePuoX%2Fuploads%2F9fhFuzENwUnYg8aHFzwE%2Fimage.png?alt=media\&token=e2ab1589-eb7c-42fb-986e-228dd3182fa2)

## Use cases of Attribute


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.antsomi.com/cdp-365-user-guide-en/data-hub/business-objects/data-objects/attributes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
