Configuring Bulk Editing of Page Properties
- Topics:
- Developing
CREATED FOR:
- Admin
- Developer
Bulk editing of page properties lets you edit the properties of multiple pages at once.
Considerations
Page properties are not enabled for bulk editing as default. They must be explicitly enabled. When defining the page properties to be available for bulk editing you need to consider certain implications, such as:
- Certain fields are usually unique. You must decide whether it is meaningful to enable such fields for bulk editing, when one value will be applied.
- For example, page titles are nearly always unique.
- Certain fields might have multiple values which needs meaningful representation when rendering.
- For example, a status drop-down labeled Ready for Publication. This might have several values before bulk-editing such as ready, in-review, in-progress, and so on.
Because of the possibility of multiple values, it is recommended to only enable the following field types for bulk editing.
/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
Enabling a Field
These steps use the /apps/core/wcm/components/page/v1/page
from the WKND sample content as an example to enable bulk editing on a field in a development environment.
-
Using CRXDE open your page component.
-
Navigate to the required field within the
cq:dialog
definition. -
Define the following property on the field node:
- Name:
allowBulkEdit
- Type:
Boolean
- Value:
true
- Name:
-
Select Save All to persist your updates.
Limitations
Bulk editing of page properties is:
- Not available for pages within a live copy.
- Only available for pages with the same resource type.