在AEM Forms工作区中打开任务时,“任务摘要”窗格可以显示该任务的摘要。 任务的这一附加相关信息为AEM Forms工作区的最终用户增加了更多价值。
AEM Forms工作区允许您在“任务摘要”窗格中显示您选择的网页。 可以创建一个流程,以使用Workbench显示“任务摘要”窗格。
在Workbench中创建分配任务流程。 有关“分配任务”操作的更多详细信息,请参阅Workbench Help中的“服务引用”主题。
如果存在“任务摘要”URL,则默认情况下会打开“任务摘要”视图,而不是“表单”视图。 在这种情况下,即使用户在“分配任务”中启用“以最大化模式打开表单”选项,表单也不会以最大化模式打开。
配置任务摘要URL字段。 您可以指定文字值、模板、变量或XPath表达式。
下面显示“任务摘要”页上的信息示例。
https://[server]:[port]/lc/crx/de
的CRXDE Lite环境。Create a node
SampleSummary under
/with type
contenttnt:. In the properties of this node, add
unstructuredsling:of type String and value
. In the Access Control List of this node, add an entry for
resourceTypeSampleSummaryPERM_WORKSPACE_allowing
USERjcr:read privileges.
Create a folder
下的SampleSummary /apps
。在/apps/SampleSummary
的访问控制列表中,为允许jcr:readprivileges
的PERM_WORKSPACE_USER
添加一个条目。Create a file
html.espat
/apps/. For example, add the following lines in
SampleSummaryhtml.esp.
<html>
<body>
<h1>Sample Summary</h1>
<br/>
<p>Hello Sir!
<br/>
This is sample summary page for this task.
</p>
</body>
</html>
/lc/content/SampleSummary.html
。/apps/SampleSummary
的html.esp
将呈现在任务摘要窗格中。