Marketplace Add-Ons

Customizing DAM Compat Bulk Edit

Updated: July 31, 2019

On the same principle as the default bulk edit of the Nuxeo Platform, the DAM Compat module offers a bulk edit form that allows to edit several assets at the same time, with a form adapted to assets relevant metadata.

Customizing the Bulk Edit Form

The default bulk edit form is based on a layout called [email protected]. To change it you just need to override the default one by your own [email protected] layout to display your own widgets.

Default DAM bulk edit layout

<require>org.nuxeo.dam.layouts</require>
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="layouts">
  <layout name="[email protected]">
    <templates>
      <template mode="any">/layouts/layout_bulkedit_template.xhtml</template>
    </templates>
    <rows>
      <row>
        <widget>dam_edit_tags</widget>
      </row>
      <row>
        <widget>damc_author</widget>
      </row>
      <row>
        <widget>damc_authoringDate</widget>
      </row>
      <row>
        <widget>subjects</widget>
      </row>
      <row>
        <widget>coverage</widget>
      </row>
    </rows>
  </layout>
</extension>

The widgets used in the [email protected] layout should not have the property required set to true. If the widgets you want to use have this property, redefine them in the layout without the required property.

We'd love to hear your thoughts!

All fields required