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.
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>/jcr:content/metadata node
.
Name: xmpRights:WebStatement
Type: String
Value: <path to license agreement page>
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>/jcr:content/metadata node
.
Name: adobe_dam:restrictions
Type: String
Value: <HTML code>
Example value:
<!DOCTYPE html>
<html>
<body>
<p>Sample license agreement description</p>
</body>
</html>
xmpRights:WebStatement supersedes when you set both xmpRights:WebStatement and adobe_dam:restrictions.