# Enabling and disabling the entity type for datasets

{% hint style="info" %}
You cannot enable model-based custom entity types for guided redaction projects.
{% endhint %}

To include a model-based custom entity type in the entity types that Structural scans for in a dataset, you must enable the entity type for the dataset.

Before you delete a model-based custom entity type, you must make sure that it is not enabled for any datasets.

In the entity types list, the **Activated for** column displays the number of datasets that the entity type is enabled for.

You cannot enable an inactive entity type.

To change the selected datasets:

1. Click the database icon.\
   \
   The **Activate custom entity** panel displays the datasets that you have access to.

<figure><img src="/files/tQjVFp3v95pH7dlAwQ8x" alt=""><figcaption><p>Activate custom entity panel to enable the entity type for datasets</p></figcaption></figure>

2. To filter the datasets by name, in the search field, type text from the name.
3. For each dataset, the toggle indicates whether the entity type is active for the dataset. When the toggle is in the on position, the entity type is enabled for the dataset.\
   \
   To enable or disable the entity type for a single dataset, set the toggle.
4. To enable or disable the entity type for all of the datasets that are currently included in the list, click **Bulk Edit**, then select whether to enable or disable the entity type.

You can also enable or disable entity types from the dataset details. For more information, go to [Working with custom entity types](/textual/dataset-configure-redaction/dataset-custom-entity-types.md).


---

# Agent Instructions: 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:

```
GET https://docs.tonic.ai/textual/entity-types/entity-type-custom-model/enabling-and-disabling-the-entity-type-for-datasets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
