AEM Assets · updated

Processing profiles and post-processing workflows in AEM Assets as a Cloud Service

A processing profile is a list of extra renditions that AEM Assets makes for files uploaded to a folder. You create it under Tools > Assets > Processing Profiles and apply it to folders. The built-in default processing always runs as well. For anything a profile cannot do, a post-processing workflow runs after the microservices finish; it must end with the 'DAM Update Asset Workflow Completed Process' step.

In plain words

Think of three layers. The first is automatic: thumbnails, a web preview, metadata and text extraction for every upload, with nothing to configure. The second is yours to set: a profile that says 'for this folder, also make a 1600-pixel WebP'. The third is for logic: a normal AEM workflow that starts when the first two are done, for example to fetch a product code from another system.

What each layer does

LayerWhat it makesCan you change it?
Default configurationThumbnails of 48, 140 and 319 pixels, a 1280-pixel web preview, metadata extraction and text extractionNo. Adobe says it cannot be modified and is not visible in the interface
Standard processing profileRenditions in PNG, JPEG, GIF or WebP with a maximum width and height, a quality value for JPEG and WebP, and an optional For Placement Only renditionYes: Tools > Assets > Processing Profiles
Custom profileWhatever your own App Builder application returns, through the Asset Compute ServiceYes: the Custom tab of a profile
Post-processing workflowAny AEM workflow steps, run after the microservices finishYes: a normal workflow model

Rules worth knowing

  • Only one processing profile can be applied to a folder. To get more renditions, add more rendition definitions to that profile.
  • A profile applies to new and updated assets in the folder and its sub-folders. A sub-folder can have its own profile, which overrides the parent's.
  • A rendition keeps the original's shape: the service makes the largest rendition that fits inside the width and height you give.
  • Each rendition has included and excluded MIME types. The excluded list is checked first.
  • Adobe recommends fewer than 40 renditions per asset; beyond that, requests are truncated.
  • Adobe says to use a custom application only when the default configuration or a standard profile cannot meet the requirement. The App Builder application must belong to the same organisation as the AEM account.
  • Profiles make renditions only. Adobe states that generating new assets is not supported.
  • Metadata extraction can fail for files above about 15 GB.

Post-processing workflows

Create a workflow model, add your steps, and add 'DAM Update Asset Workflow Completed Process' as the last step. Adobe says this step is how AEM knows processing has ended; without it the asset is not marked as processed. You then attach the model to a folder (Properties > Assets Processing > Auto-start Workflow) or map it by path or by regular expression in the Custom Workflow Runner service. No workflow launcher is needed.

OSGi configuration for the Custom Workflow Runner (our example; the service and property names are Adobe's, the path and model are placeholders)

// com.adobe.cq.dam.processor.nui.impl.workflow.CustomDamWorkflowRunnerImpl.cfg.json
{
  "postProcWorkflowsByPath": [
    "/content/dam/my-brand:/var/workflow/models/my-workflow"
  ]
}

How to add a rendition to a folder

  1. Go to Tools > Assets > Processing Profiles and select Create.
  2. Name the profile. On the Image tab add a rendition: file name, format, maximum width and height, and quality.
  3. Set included and excluded MIME types if the rendition should apply to some file types only, then save.
  4. Apply the profile: select it and use Apply Profile to Folders, or open the folder's Properties and choose it on the Asset Processing tab.
  5. For assets already in the folder, select them and use Reprocess Assets.
  6. Open one asset and check the Renditions view to confirm the new rendition is there.

Related tools and pages on this site

Questions

Can two processing profiles apply to the same folder?

No. Adobe states only one processing profile can be applied to a folder. Put all the rendition definitions you need into that one profile.

Does a processing profile replace the default thumbnails?

No. Adobe says the default processing always runs on uploaded assets, alongside any profile you add.

How do I switch off post-processing for one folder?

Adobe describes a workflow model named disable-auto-start-workflow that holds only the 'DAM Update Asset Workflow Completed' step and is set as transient. Assign it as the folder's Auto-start Workflow.

Can I delete unwanted renditions in bulk later?

Not from the interface. Adobe warns that renditions cannot be deleted in bulk afterwards, so plan which ones you need before you start.

Sources

Facts about Adobe's products on this page are from the linked Adobe pages, read on the date shown beside each. Explanations, steps and examples are ours unless marked as Adobe's. If Adobe's page and this one differ, Adobe's page is right.

Surge Migrate is not affiliated with Adobe and claims no Adobe partner status. Adobe product names are trademarks of Adobe.

Surge Migrate

Moving the website itself

This page answers one AEM Assets question. Surge Migrate moves a website from any CMS to any CMS. Converted automatically. Checked before you install.

  1. 1

    Scan

    Names the system behind your site, counts pages and templates, lists the blocks to build and the work no tool does, and gives an effort range with its working.

    Scan a site →
  2. 2

    Convert

    Each page becomes an Edge Delivery document, an AEM Core Component page and import files for 7 other systems. 10 pages free; 500 or 2,000 pages in one paid run.

    Convert your pages →
  3. 3

    Verify

    A download is offered only when its own format check passes. The report lists every field not found and every component kept as plain content. Compare old and new pages side by side.

    Parity check →
  4. 4

    Install

    You import with the target system's own tool, on your own environment. Each download's README gives the command. Your system changes only when you run it.

    How each import was tested →