在任务摘要窗格中显示信息 displaying-information-in-the-task-summary-pane

在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 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