批量编辑页面属性功能让您一次编辑多个页面的属性。
默认情况下,页面属性未启用批量编辑。必须明确启用这些属性。在定义可用于批量编辑的页面属性时,您需要考虑某些事项,例如:
由于可能存在多个值,建议仅启用以下字段类型进行批量编辑。
/libs/granite/ui/components/foundation/form/textfield
/libs/granite/ui/components/foundation/form/textarea
/libs/granite/ui/components/foundation/form/tagspicker
/libs/granite/ui/components/foundation/form/datepicker
/libs/granite/ui/components/foundation/form/pathbrowser
/libs/granite/ui/components/foundation/form/checkbox
这些步骤使用 WKND 示例内容中的 /apps/core/wcm/components/page/v1/page
作为示例,以便在开发环境中对字段进行批量编辑。
使用 CRXDE 打开您的页面组件。
导航至cq:dialog
定义中的必填字段。
在字段节点上定义以下属性:
allowBulkEdit
Boolean
true
选择保存全部,以保留您的更新。
页面属性的批量编辑: