---
title: "Extend the DRM functionality"
slug: "extend-the-drm-functionality"
abstract: "How to extend the DRM functionality."
---
# Extend the DRM functionality

You can extend the [DRM functionality](https://doc.sitecore.com/ch/en/users/content-hub/digital-rights-management.html) by adding or deleting the relations used to define usage rights.

> [!important]
> After extending the DRM functionality, you might need a [graph rebuild without index deletion](https://doc.sitecore.com/ch/en/users/content-hub/graph-server-behavior.html#rebuild-graph-relationships) to see your changes.

> [!note]
> The following example describes how to add a relation based on the existing *M.Brand* taxonomy. To remove a relation, you must delete its configuration in the [`UsageRightsConfiguration` setting](https://doc.sitecore.com/ch/en/users/content-hub/configure-the-drm-settings.html "Configure the DRM settings").

To extend the DRM functionality:

1. In the **Details** member group of the *M.DRM.RightsProfile* definition, create the [*BrandToRightsProfile* relation member](https://doc.sitecore.com/ch/en/users/content-hub/create-a-member.html "Create a member") using the following values.

    | Tab | Field | Value |
    | --- | --- | --- |
    | **General information** | **Name** | *BrandToRightsProfile* |
    | **General information** | **Label** | *Brand* |
    | **General information** | **Associated definition** | *M.Brand* |
    | **Required** | **Parent required** | *True* |
    | **Advanced** | **Content copied** | *True* |
    | **Advanced** | **Allow navigation** | *False* |
    | **Advanced** | **Inherits security** | *False* |

2. In the **Intended use** member group of the *M.DRM.UsageRightsRequest* definition, [create the *BrandToUsageRightsRequest* relation](https://doc.sitecore.com/ch/en/users/content-hub/create-a-member.html "Create a member") using the following values.

    | Tab | Field | Value |
    | --- | --- | --- |
    | **General information** | **Name** | *BrandToUsageRightsRequest* |
    | **General information** | **Label** | *Brand* |
    | **General information** | **Associated definition** | *M.Brand* |
    | **Required** | **Parent required** | *True* |
    | **Advanced** | **Content copied** | *True* |
    | **Advanced** | **Allow navigation** | *False* |
    | **Advanced** | **Inherits security** | *False* |

3. Add a relation object to the [`UsageRightsConfiguration` setting](https://doc.sitecore.com/ch/en/users/content-hub/configure-the-drm-settings.html "Configure the DRM settings") using the following values.

    | Field | Value |
    | --- | --- |
    | **key** | *brand* |
    | **rights_profile_link_relation** | *BrandToRightsProfile* |
    | **usage_rights_request_link_relation** | *BrandToUsageRightsRequest* |
    | **role** | *Child* |

4. On the **Contract details** portal page, for the **Usage rights** search [component](https://doc.sitecore.com/ch/en/users/content-hub/page-components.html "Page components"), on the **Fields** tab of the desired view (**Grid**, **Table**, etc.), add the following field:

    | Parameter | Value |
    | --- | --- |
    | **Type** | *Relation* |
    | **Field** | *Brand* |
    | **Display format** | *Relation* |

5. For the following [components](https://doc.sitecore.com/ch/en/users/content-hub/add,-modify,-or-delete-page-components.md "Add, modify, or delete page components"), in the **Intended use** member group, set the *Brand* visible member as *Not editable*.

    | Page | Component |
    | --- | --- |
    | Basic usage rights request - Non authorized order | **Details** |
    | Basic usage rights request - Authorized order | **Details** |
    | Asset Detail Usage Rights Request | **IntendedUse Read AdditionalInfo Write Details Component** |
    | Asset Detail Usage Rights Request | **IntendedUse Read AdditionalInfo Hidden Details Component** |

6. In the *M.Builtin.DRM.Everyone* user group, add the *Read* [permission](https://doc.sitecore.com/ch/en/users/content-hub/configure-a-user-group-policy.html "Configure a user group policy") to the *Brand* entity definition.