在「任務摘要」窗格中顯示資訊 displaying-information-in-the-task-summary-pane

CAUTION
AEM 6.4已結束延伸支援,本檔案不再更新。 如需詳細資訊,請參閱 技術支援期. 尋找支援的版本 此處.

在AEM Forms工作區中開啟任務時,「任務摘要」窗格可以顯示任務的摘要。 此額外的相關任務資訊可為AEM Forms工作區的使用者增加更多價值。

AEM Forms工作區可讓您在「任務摘要」窗格中顯示您選擇的網頁。 可以建立一個流程以使用Workbench顯示「任務摘要」窗格。

  1. 在Workbench中建立分配任務流程。 有關「分配任務」操作的詳細資訊,請參閱 Workbench說明.

    note note
    NOTE
    如果存在TaskSummary URL,則預設會開啟Task Summary視圖,而非Form視圖。 在這種情況下,即使用戶在「分配任務」中啟用「以最大化模式開啟表單」選項,表單也不會以最大化模式開啟。
  2. 配置「任務摘要URL」欄位。 您可以指定常值、範本、變數或XPath運算式。

  3. 下面是在「任務摘要」頁上顯示資訊的示例。

    • 登入CRXDE Lite環境,位置為 https://[server]:[port]/lc/crx/de.
    • Create a nodeSampleSummary under/contentwith typent:非結構化. In the properties of this node, add sling:resourceTypeof type String and valueSampleSummary. In the Access Control List of this node, add an entry for PERM_WORKSPACE_USERallowingjcr:read privileges.
    • Create a folderSampleSummary/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-none
    <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 at /apps/SampleSummary 在任務摘要窗格中呈現。
recommendation-more-help
a6ebf046-2b8b-4543-bd46-42a0d77792da