Adobe Experience Manager: How to add a license agreement page to an asset?

Last update: 2023-02-01

Description

Environment

AEM 6.5

Issue/Symptoms

AEM can enforce the acceptance of the license before downloading an asset. This article explains how to add a license agreement page to an asset.

Resolution

There are two ways to add a license agreement page to an asset.

First: xmpRights:WebStatement property

Add the following property to <path to target asset&gt;/jcr:content/metadata node.

Name: xmpRights:WebStatement

Type: String

Value: &lt;path to license agreement page&gt;

Example value:/libs/settings/dam/drm/licenses/TOUCH-UI-LICENSE.html

Second: adobe_dam:restrictions property

Add the following property to <path to target asset&gt;/jcr:content/metadata node.

Name: adobe_dam:restrictions

Type: String

Value: &lt;HTML code&gt;
Example value:

  &lt;!DOCTYPE html&gt;

  &lt;html&gt;

  &lt;body&gt;

  &lt;p&gt;Sample license agreement description&lt;/p&gt;

  &lt;/body&gt;

  &lt;/html&gt;

xmpRights:WebStatement supersedes when you set both xmpRights:WebStatement and adobe_dam:restrictions.

On this page