Need a Unique Identifier to identify the asset
Say we create a file (file created by photoshop, illustrator, etc) and upload the file in AEM (All metadata properties are set within the file).
1) User1 downloads the file and edits the file and uploads the file back to the AEM (Since the file Name is not changed, the user now the user uses the create version option, So a version is created to that asset)
2) User2 downloads the same file and updates the asset (this time the user changes the file name as well and uploads the file) The file is uploaded as a new file instead of creating a version. (We don't want a new file to be created, instead we need to create a version)
We need a unique identifier which helps us to identify this is an updated asset of an existing asset in AEM and create a version. We are not looking for Image Set features, this should be incremental feature for images.
AEM understands the file path as a unique identifier, per the requirement the unique ID should be independent of the asset's filename or location in the folder structure.
Has anyone implemented a similar requirement before? If yes, what metadata was taken as the Unique ID and how?