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

Description 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 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.
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f