cancel
Showing results for 
Search instead for 
Did you mean: 

Use case for versioning of files

lakshya
Champ in-the-making
Champ in-the-making
Hello,
For uploading files we have to follow the use case:
1. Upload file with filename FIle_001.pdf with ISBN 1001
2. Upload file with filename File_001.pdf again , if ISBN no is different from file uploaded at step 1 then upload it as a new file.
3. Upload file with filename File_001.pdf again , if ISBN no is same as the file uploaded at step 1 then upload it as next version of file uploaded at step 1.

Is this scenario possible? If yes, how can  I implement this?

Regards,
Lakshya
1 REPLY 1

stevegreenbaum
Champ in-the-making
Champ in-the-making
A simple way would be to append the ISBN number to the file name.  While not an optimal solution, it is easy to implement.