Expand my Community achievements bar.

Upload an asset module fields

Avatar

Level 2

Hi, I'm working on moving some documents from Adobe Workfront to AEM assets using fusion. I'm using Upload an Asset module in my scenario to upload the document to AEM asset and came across the below fields. Does anyone know what are they used for? 


Create version

Replace

 

Currently when I upload same document again, it overwrites the previously uploaded document. Is there any way I can keep both the versions of the documents? 

Thanks!

Screenshot 2024-09-23 at 10.13.13 AM 1.png

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Level 10

Hello,

 

If the module is working as expected, both checkboxes should do, what their name says:

 

createVersion

If True and an asset with the specified name exists, then Experience Manager creates a new version of the asset.

 

replace

If True and an asset with the specified name exists, Experience Manager deletes the asset then re-create it.

 

 

If the asset exists and neither createVersion nor replace is specified, then Experience Manager updates the asset’s current version with the new binary.

 

 

Regards

Lars

Avatar

Level 2

Thanks @lgaertner for the explanation! I have used below configuration and it's overwriting the documents. Any suggestions?

Create Version: Yes

Replace: No