About profiles for processing metadata, images, and videos
A profile is a recipe for what options to apply to assets that get uploaded to a folder. For example, you can specify what metadata profile and video encoding profile to apply to video assets that you upload. Or, what imaging profile to apply to image assets to have them properly cropped.
Those rules can include adding metadata, smart cropping of images, or establishing video encoding profiles. In AEM, you can create three types of profiles, which are covered in detail at the following links:
You must have Administrator rights to create, edit, and delete metadata, image, or video profiles.
After you create your metadata, image, or video profile, you assign it to one or more folders that you use as the destination for newly uploaded assets.
Assets that you move from one folder to another do not get reprocessed. For example, suppose you have Folder 1 that has profile A assigned to it and Folder 2 that has profile B assigned to it. If you move assets from Folder 1 to Folder 2, the moved assets retain their original processing from Folder 1.
The same is true even when you move assets between two folders that have the same profile assigned to it.
Reprocessing assets in a folder
Applies to Dynamic Media - Scene7 mode only in AEM 22.214.171.124 or later.
You can reprocess assets in a folder that already has an existing processing profile that you later changed.
For example, suppose you created an Image profile and assigned it to a folder. Any image assets you uploaded to the folder automatically had the Image profile applied to the assets. However, later you decide to add a new smart crop ratio to the profile. Now, instead of having select and reupload the assets to the folder all over again, you simply run the Scene7: Reprocess Assets workflow.
You can run the reprocess workflow on an asset for which processing failed the first time. As such, even if you have not edited a processing profile or applied a processing profile, you can still run the reprocess workflow on a folder of assets any time.
You can optionally adjust the batch size of the reprocess workflow from a default of 50 assets up to 1000 assets. When you run the Scene7: Reprocess Assets workflow on a folder, assets are grouped together in batches, then sent to the Dynamic Media server for processing. Following processing, the metadata of each asset in the entire batch set is updated on AEM. If the batch size is very large, you may experience a delay in processing. Or, if the batch size is too small, it can cause too many round trips to the Dynamic Media server.
To reprocess assets in a folder :
- In AEM, from the Assets page, navigate to a folder of assets that has a processing profile assigned to it and for which you want to apply the Scene7: Reprocess Asset workflow,Folders that have a processing profile already assigned to it are indicated by the display of the profile's name directly below the folder name in Card View.
- Select a folder.
- The workflow considers all files in the selected folder, recursively.
- If there are one or more sub-folders with assets in the main selected folder, the workflow will reprocess every asset in the folder hierarchy.
- As a best practice, you should avoid running this workflow on a folder hierarchy that has more than 1000 assets.
- Near the upper-left corner of the page, from the drop-down list, click Timeline .
- Near the lower-left corner of the page, to the right of the Comment field, click the carat icon ( ^ ) .
- Click Start Workflow .
- From the Start Workflow drop-down list, choose Scene7: Reprocess Assets .
- (Optional) In the Enter title of workflow text field, enter a name for the workflow. You can use the name to reference the workflow instance, if necessary.
- Click Start , then click Confirm .To monitor the workflow or check its progress, from the AEM main console page, click Tools > Workflow . On the Workflow Instances page, select a workflow. On the menu bar, click Open History . You can also terminate, suspend, or rename a selected workflow from the same Workflow Instances page.
Adjusting the batch size of the reprocess workflow
(Optional) The default batch size in the reprocessing workflow is 50 assets per job. However, you can adjust that default for several hundred assets. A maximum size setting of up to 1000 assets is permitted per reprocessing workflow job.
To optionally adjust the batch size of the reprocess workflow :
- In Experience Manager, tap Adobe Experience Manager to access the global navigation console, then tap the Tools (hammer) icon > Workflow > Models .
- On the Workflow Models page, in Card View or List View, select Scene7: Reprocess Assets .
- On the tool bar, click Edit . A new browser tab opens the Scene7: Reprocess Assets workflow model page.
- On the Scene7: Reprocess Assets workflow page, double-click any step between Flow Start and Flow End of the model.For example, double-click the Scene7: Reprocess Assets step to open the Reprocess Assets - Step Properties dialog box.The Scene7: Reprocess Assets model is an out-of-the-box workflow. As such, if you are unable to select a step in the model, in the upper-right corner of the page, tap Edit to "unlock" the workflow, then try double-clicking a step again.
- In the upper-right corner of the dialog box, tap Done (check mark icon).
- In the upper-right corner of the Scene7: Reprocess Assets workflow model page, tap Sync . When you see Synced , the workflow runtime model is successfully synchronized.Close the browser tab that shows the Scene7: Reprocess Assets workflow model.
- Return to the browser tab that has the open Workflow Models page, then press Esc to exit the selection.
- In the upper-left corner of the page, tap Adobe Experience Manager to access the global navigation console, then tap the Tools (hammer) icon > General > CRXDE Lite .
- In the folder tree on the left side of the CRXDE Lite page, navigate to the following location:/conf/global/settings/workflow/models/scene7_reprocess_assets/jcr:content/flow/reprocess/metaData
- On the right side of the CRXDE Lite page, in the lower portion, enter the following name, type, and value in its respective field:
- Name : reprocess-batch-size
- Type : Long
- Value : enter a default value (50-1000) for the batch size
- In the lower-right corner, tap Add . The new property appears as the following:
- On the menu bar of the CRXDE Lite page, tap Save All .
- In the upper-left corner of the page, tap CRXDE Lite to return to the main AEM console
- Repeat steps 1-7 to re-synchronize the new batch size to the Scene7: Reprocess Assets workflow model.