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

CAUTION
AEM 6.4已结束扩展支持,本文档将不再更新。 有关更多详细信息,请参阅 技术支助期. 查找支持的版本 此处.

在AEM Forms工作区中打开任务时,“任务摘要”窗格可以显示该任务的摘要。 任务的这一附加相关信息可为AEM Forms工作区的最终用户带来更多价值。

AEM Forms工作区允许您在“任务摘要”窗格中显示您选择的网页。 可以创建一个流程,以使用Workbench显示“任务摘要”窗格。

  1. 在Workbench中创建分配任务流程。 有关“分配任务”操作的更多详细信息,请参阅 Workbench帮助.

    note note
    NOTE
    如果存在“任务摘要”URL,则默认情况下会打开“任务摘要”视图,而不是“表单”视图。 在这种情况下,即使用户在“分配任务”中启用“以最大化模式打开表单”选项,表单也不会以最大化模式打开。
  2. 配置任务摘要URL字段。 您可以指定文字值、模板、变量或XPath表达式。

  3. 下面显示“任务摘要”页上的信息示例。

    • 登录CRXDE Lite环境: https://[server]:[port]/lc/crx/de.
    • Create a node示例摘要 under/contentwith typent:非结构化. 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-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