Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a new Workflow Model
    http://localhost:4502/libs/cq/workflow/admin/console/content/models.html
  2. Remove all predefined steps from the workflow model
  3. Add a new "Workflow / Process Step" component
    • Select "wcm.io Media Handler: Rendition Metadata" as process
    • Activate the "Handler Advance" checkbox
  4. In the properties of the workflow, activate the "Multi Resource Support" checkbox
  5. "Synch" the workflow model
  6. Create a new workflow package page (using the Classic UI, seems not yet supported in the Touch UI)
    http://localhost:4502/miscadmin#/etc/workflow/packages
  7. Add a new "Resource Definition" node for each AEM asset folder you want to process, and select the folder path in the properties dialog (e.g. /content/dam/myproject)

    Note

    Please note: You have to add at least to two resource definition nodes, otherwise it will only work if you selected an asset. Processing of all assets inside a folder including the subfolders works only if you have added at least two resource definition entries (even if they point to the same folder!). The reason for this is a strange special case handling in the AEM workflow resource collection implementation.


  8. You now have to go to CRX DE Lite to manually change the filter rules of the two or more resource definition nodes you just entered via the UI (this is unfortunately not possible in the UI itself)
    • Within the workflow package page (below /etc/workflow/packages or /var/workflow/packages) go to the jcr:content/vlt:definition/filter node.
    • For each child node that references your asset folder(s) in the root property, remove the rules string array property, or change it in a way so it processed all assets in the folder and not only the folder itself.
  9. Go back to the UI of the workflow package editor
  10. In the Sidekick, select the "Worklow" tab, and select and start the workflow you created in step 1

    Info

    If you want to see what's going on set a loglevel to INFO for the category io.wcm.handler.mediasource.dam.impl.metadata


...