Adobe Experience Manager:如何將授權協定頁面新增至資產?

說明 description

環境

AEM 6.5

問題/症狀

AEM 可以在下載資產之前強制接受授權。本文說明如何將授權協議頁面新增至資產。

解決方法 resolution

可用兩種方法將授權協議頁面新增到資產。

第一: xmpRights:WebStatement 屬性

將下列屬性新增至 <path to target asset&gt;/jcr:content/metadata node

Name: xmpRights:WebStatement

Type: String

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

範例值:/libs/settings/dam/drm/licenses/TOUCH-UI-LICENSE.html

第二: adobe_dam:restrictions 屬性

將下列屬性新增至 <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