自定义进程实例列表 customizing-the-listing-of-process-instances
进程实例列表显示在AEM Forms工作区的“跟踪”选项卡中。
在流程实例列表中,对于每个流程实例,AEM Forms工作区会显示该实例的某些属性。 每个进程实例都可使用以下属性。 这些属性将作为属性存储在流程实例组件模型中,并可在其视图和模板中使用。
示例:
显示 description
进程实例卡中进程实例的属性,请执行以下步骤。
-
执行以下操作:
- 将/libs/ws/js/runtime/templates/processinstance.html复制到/apps/ws/js/runtime/templates/(如果不存在)。 单击 全部保存.
- 使用类= 'processDescription' inprocessinstance.html添加流程描述div。
code language-none <div class="processDescription" title="<%= description%>"><%= description%></div>
-
执行以下操作:
- 打开/apps/ws/js/registry.js进行编辑。
- 搜索和替换
text!/lc/libs/ws/js/runtime/templates/processinstance.html
withtext!/lc/
应用程序/ws/js/runtime/templates/processinstance.html。
-
上述更改可能需要通过以下方式在样式表/apps/ws/css/newStyle.css中添加一个条目来更新CSS文件:
code language-css .processinstance .processDescription { <!--Dummy values, need to be configured by user as per requirement as well as user can add or delete any property depending upon requirement--> width : 250px; font-size : 11pt; padding : 2px; }
recommendation-more-help
a6ebf046-2b8b-4543-bd46-42a0d77792da