Vizualizați conținut de ajutor pentru versiunea:

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

Due to the possibility of different values, page properties are not enabled for bulk editing as default. They must be explicitily whitelisted (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; for example a page title. You must decide whether it is meaningful to enable such fields for bulk editing, when one value will be applied.
  • Certain fields might have multiple values - this needs meaningful representation when rendering.
    For example, a check-box indicating "Ready for Publication". This might have several values before bulk-editing (e.g. ready, in-review, in-progress).  

Atenție:

Bulk editing of page properties is:

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

Notă:

Bulk editing is also available for Assets. It is very similar, but differs in a few points. See Editing Properties of Multiple Assets for full information. You can customize the fields in the Bulk Metadata editor for Assets using the Schema editor.

Enabling a Field

Notă:

Certain fields might have multiple values - this needs meaningful representation when rendering. For this reason you should only enable the following field types:

  • /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

Fields are enabled on the page component (not on the template):

  1. Using CRXDE Lite (or an equivalent method) open your page component.

    For example: /apps/core/wcm/components/page/v1/page

    Notă:

    This example assumes that the Core Components have been installed on the instance, which is the case if the instance is running with We.Retail sample content. See the Core Components documentation for more information.

  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

    For example, for the standard page foundation component:

      /libs/foundation/components/page

    The property would be defined on:

      cq:dialog/content/items/tabs/items/basic/items/column/items/onofftime/items/ondate

    Atenție:

    You must not change anything in the /libs path.

    This is because the content of /libs is overwritten the next time you upgrade your instance (and may well be overwritten when you apply either a hotfix or feature pack).

    The recommended method for configuration and other changes is:

    1. Recreate the required item (i.e. as it exists in /libs) under /apps
    2. Make any changes within /apps

  4. Select Save All to persist your updates.

Această lucrare este oferită sub licență Atribuire-Necomercial-FărăModificări 3.0 Ne-adaptată Creative Commons  Postările pe Twitter™ şi Facebook nu sunt acoperite de condiţiile de licenţiere Creative Commons.

Prevederi legale   |   Politică de confidențialitate online