在工作摘要窗格中顯示資訊 displaying-information-in-the-task-summary-pane
當您在AEM Forms工作區中開啟任務時,「任務摘要」窗格會顯示任務的摘要。 這項工作的相關額外資訊為AEM Forms工作區的一般使用者增加了更多價值。
AEM Forms工作區可讓您在「工作摘要」窗格中顯示您所選擇的網頁。 您可以使用Workbench建立處理以顯示「工作摘要」窗格。
-
在Workbench中建立「指定作業」處理。 如需有關「指派工作」作業的詳細資訊,請參閱下列主題中的服務參考: Workbench說明.
note note NOTE 如果TaskSummary URL存在,預設會開啟Task Summary檢視,而不是表單檢視。 在這種情況下,即使使用者在指派任務中啟用了「以最大化模式開啟表單」選項,表單也不會以最大化模式開啟。 -
設定[工作摘要URL]欄位。 您可以指定常值、範本、變數或XPath運算式。
-
以下是「工作摘要」頁面上顯示資訊的範例。
- 登入CRXDE Lite環境:
https://'[server]:[port]'/lc/crx/de
. Create a node
範例摘要under
/contentwith type
nt:unstructured. In the properties of this node, add
sling:resourceTypeof type String and value
範例摘要. In the Access Control List of this node, add an entry for
PERM_WORKSPACE_USERallowing
jcr:readprivileges.
Create a folder
範例摘要 在/apps
. 在存取控制清單中/apps/SampleSummary
,新增專案PERM_WORKSPACE_USER
允許jcr:readprivileges
.Create a file
html.espat
/apps/SampleSummary. For example, add the following lines in
html.esp.
code language-html <html> <body> <h1>Sample Summary</h1> <br/> <p>Hello Sir! <br/> This is sample summary page for this task. </p> </body> </html>
- 將任務摘要URL的值設為
/lc/content/SampleSummary.html
在指派工作步驟中。 - 在AEM Forms工作區中開啟與此指派工作步驟相關聯的工作時,
html.esp
在/apps/SampleSummary
會在工作摘要窗格中呈現。
- 登入CRXDE Lite環境:
recommendation-more-help
19ffd973-7af2-44d0-84b5-d547b0dffee2