在AEM Forms工作區中開啟任務時,「任務摘要」窗格可以顯示任務的摘要。 此額外的相關任務資訊可為AEM Forms工作區的使用者增加更多價值。
AEM Forms工作區可讓您在「任務摘要」窗格中顯示您選擇的網頁。 可以建立一個流程以使用Workbench顯示「任務摘要」窗格。
在Workbench中建立分配任務流程。 有關「分配任務」操作的詳細資訊,請參閱 Workbench說明.
如果存在TaskSummary URL,則預設會開啟Task Summary視圖,而非Form視圖。 在這種情況下,即使用戶在「分配任務」中啟用「以最大化模式開啟表單」選項,表單也不會以最大化模式開啟。
配置「任務摘要URL」欄位。 您可以指定常值、範本、變數或XPath運算式。
下面是在「任務摘要」頁上顯示資訊的示例。
https://[server]:[port]/lc/crx/de
.Create a node
SampleSummary under
/contentwith type
nt:非結構化. In the properties of this node, add
sling:resourceTypeof type String and value
SampleSummary. In the Access Control List of this node, add an entry for
PERM_WORKSPACE_USERallowing
jcr:read privileges.
Create a folder
SampleSummary 在 /apps
. 在 /apps/SampleSummary
,為新增項目 PERM_WORKSPACE_USER
允許 jcr:readprivileges
.Create a file
html.espat
/apps/SampleSummary. For example, add the following lines in
html.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
在「分配任務」步驟中。html.esp
at /apps/SampleSummary
在任務摘要窗格中呈現。