在AEM Forms工作区中打开任务时,“任务摘要”窗格可以显示该任务的摘要。 任务的这一附加相关信息可为AEM Forms工作区的最终用户带来更多价值。
AEM Forms工作区允许您在“任务摘要”窗格中显示您选择的网页。 可以创建一个流程,以使用Workbench显示“任务摘要”窗格。
在Workbench中创建分配任务流程。 有关“分配任务”操作的更多详细信息,请参阅 Workbench帮助.
如果存在“任务摘要”URL,则默认情况下会打开“任务摘要”视图,而不是“表单”视图。 在这种情况下,即使用户在“分配任务”中启用“以最大化模式打开表单”选项,表单也不会以最大化模式打开。
配置任务摘要URL字段。 您可以指定文字值、模板、变量或XPath表达式。
下面显示“任务摘要”页上的信息示例。
https://[server]:[port]/lc/crx/de
.Create a node
示例摘要 under
/contentwith type
nt:非结构化. 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_USERallowing
jcr: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.
<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
分配任务步骤中。html.esp
at /apps/SampleSummary
呈现在任务摘要窗格中。