在AEM Forms工作區中開啟任務時,「任務摘要」窗格可以顯示任務的摘要。 此額外的相關任務資訊可為AEM Forms工作區的使用者增加更多價值。
AEM Forms工作區可讓您在「任務摘要」窗格中顯示您選擇的網頁。 可以建立一個流程以使用Workbench顯示「任務摘要」窗格。
在Workbench中建立分配任務流程。 有關「分配任務」操作的詳細資訊,請參閱Workbench幫助中的服務參考主題。
如果存在TaskSummary URL,則預設會開啟Task Summary視圖,而非Form視圖。 在這種情況下,即使用戶在「分配任務」中啟用「以最大化模式開啟表單」選項,表單也不會以最大化模式開啟。
配置「任務摘要URL」欄位。 您可以指定常值、範本、變數或XPath運算式。
下面是在「任務摘要」頁上顯示資訊的示例。
https://[server]:[port]/lc/crx/de
登入CRXDE Lite環境。Create a node
SampleSummary under
/with type
contentt:. In the properties of this node, add
unstructedsling:of type String and value
. In the Access Control List of this node, add an entry for
resourceTypeSampleSummaryPERM_WORKSPACE_allowing
USERjcr:read privileges.
Create a folder
下方的SampleSummary /apps
。在/apps/SampleSummary
的訪問控制清單中,為PERM_WORKSPACE_USER
添加允許jcr:readprivileges
的條目。Create a file
html.espat
/apps/. For example, add the following lines in
SampleSummaryhtml.esp.
<html>
<body>
<h1>Sample Summary</h1>
<br/>
<p>Hello Sir!
<br/>
This is sample summary page for this task.
</p>
</body>
</html>
/lc/content/SampleSummary.html
。/apps/SampleSummary
處的html.esp
將呈現在任務摘要窗格中。