Configuring Bulk Editing of Page Properties configuring-bulk-editing-of-page-properties

Bulk editing of page properties lets you edit the properties of multiple pages at once.

Considerations 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 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.

  1. Using CRXDE open your page component.

  2. Navigate to the required field within the cq:dialog definition.

  3. Define the following property on the field node:

    • Name: allowBulkEdit
    • Type: Boolean
    • Value: true
  4. Select Save All to persist your updates.

Limitations limitations

Bulk editing of page properties is:

  • Not available for pages within a live copy.
  • Only available for pages with the same resource type.