在工作摘要窗格中顯示資訊 displaying-information-in-the-task-summary-pane

當您在AEM Forms工作區中開啟任務時,「任務摘要」窗格會顯示任務的摘要。 這項工作的相關額外資訊為AEM Forms工作區的一般使用者增加了更多價值。

AEM Forms工作區可讓您在「工作摘要」窗格中顯示您所選擇的網頁。 您可以使用Workbench建立處理以顯示「工作摘要」窗格。

  1. 在Workbench中建立「指定作業」處理。 如需有關「指派工作」作業的詳細資訊,請參閱下列主題中的服務參考: Workbench說明.

    note note
    NOTE
    如果TaskSummary URL存在,預設會開啟Task Summary檢視,而不是表單檢視。 在這種情況下,即使使用者在指派任務中啟用了「以最大化模式開啟表單」選項,表單也不會以最大化模式開啟。
  2. 設定[工作摘要URL]欄位。 您可以指定常值、範本、變數或XPath運算式。

  3. 以下是「工作摘要」頁面上顯示資訊的範例。

    • 登入CRXDE Lite環境: https://'[server]:[port]'/lc/crx/de.
    • Create a node範例摘要 under/contentwith typent: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_USERallowingjcr:read privileges.
    • 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 會在工作摘要窗格中呈現。
recommendation-more-help
19ffd973-7af2-44d0-84b5-d547b0dffee2