Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Add an ability to "Replace a file" from the asset's properties page

Avatar

Level 1

5/18/23

Request for Feature Enhancement (RFE) Summary:

Content managers need an ability to "Replace a file" from the asset's properties.

We implemented an override for them (pictures attached). In future we'd like to have this feature as Out-of-the-box functionality.

Use-case: Content manager creates an asset's language copy, then "Reveal in Asset", then goes to the asset's properties and need to Replace the original file by translated version of file, having stored it on local computer with different name.
Current/Experienced Behavior:

Content manager can update an asset's file by one of the 2 ways:

  1. Create a Version:
    Open the folder in the DAM. Find his/her asset file. Select it and click on the "+ Create" button, then select "Version" button.
  2. Replace an original file OR Create a version:
    Save a future image with the SAME name as an original asset's file in the DAM. Drag and drop the future image to the DAM. System suggests "Create a version" or "Replace".
Improved/Expected Behavior:

User Story:

As a Content manager, I want to be able to "Replace a file" from the asset's properties to avoid walking through assets listing and files renaming.

 

Acceptance criteria:

  1. Content manager can update an asset's file from the asset's properties by uploading the file from his/her local computer.
  2. Content manager can choose 2 options: "Create version" or "Replace".
  3. If "Replace" option is selected, AEM saves the file to the same directory and automatically rename uploaded file to the same name as the original asset (original file is deleted).
  4. If "Create version" option is selected, AEM creates a version of the file (original file is saved).
  5. Uploading file with different extension than original asset is not uploaded and the error is displayed.
  6. The button "Replace file" is displayed on menu above asset properties page.
Environment Details (AEM version/service pack, any other specifics if applicable): AEM Managed Services, v6.5.14
Customer-name/Organization name: Veeam Software
Screenshot (if applicable):

We implemented an override for Content managers:

Step 1_Replace file.pngStep 2_Select a file.pngStep 3_Create an option.png

Code package (if applicable):  
11 Comments