Adobe Experience Manager:如何向资源添加许可协议页面?
描述 description
环境
AEM 6.5
问题/症状
AEM 可以在下载资产之前强制接受许可证。本文说明如何向资产添加许可协议页面。
解决方案 resolution
有两种方法可以将许可协议页面添加到资源。
第一: xmpRights:WebStatement
属性
将下列属性添加到 <path to target asset>/jcr:content/metadata node
。
Name: xmpRights:WebStatement
Type: String
Value: <path to license agreement page>
示例值:/libs/settings/dam/drm/licenses/TOUCH-UI-LICENSE.html
第二: adobe_dam:restrictions
属性
将下列属性添加到 <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.
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f