在工作摘要窗格中顯示資訊 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運算式。
-
以下是「工作摘要」頁面上顯示資訊的範例。
- 在
https://'[server]:[port]'/lc/crx/de
登入CRXDE Lite環境。 Create a node
SampleSummaryunder
/contentwith type
nt:unstructured. 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:readprivileges.
/apps
下的Create a folder
SampleSummary。 在/apps/SampleSummary
的存取控制清單中,新增允許jcr:readprivileges
的PERM_WORKSPACE_USER
專案。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工作區中開啟與此指派工作步驟相關聯的工作時,
/apps/SampleSummary
的html.esp
會在工作摘要窗格中呈現。
- 在
recommendation-more-help
19ffd973-7af2-44d0-84b5-d547b0dffee2