Version Control for files Uploaded to Umbraco site
We are considering using Umbraco as our CMS. One of the questions that came up was if there was an ability to do version control for files that are uploaded to the website built with Umbraco.
Sure you can!
An easy way to use version control with your Umbraco files is by using Umbraco cloud.
All files pushed to your version control is afterwards pushed to your live environment.
Actually, I probably should clarify my question - is there version control for documents that are uploaded to a Umbraco site for viewing, as in Word Docs, etc? (e.g., would an user be able to view a document they uploaded few months ago, and either replace it with a newer version or add the new version and view both documents)?
I'm assuming it's easy to do because date/time of all documents that are uploaded should be tracked in the Umbraco database, amongst other things, but wanted to confirm that it's been used for this purpose.
Umbraco doesn't do version control per say, at least not with Media. With Content nodes there is the ability to roll back to previous versions but that doesn't exist with Media, which is what a Word Doc, for example, would qualify as.
Nothing stops you uploading as many versions of a word document to the media library, however it would get pretty messy to manage if you were doing it alot, and you'd need to update any references to the media item each time you wanted the site to be using the latest version.
What you could do, and it's something I built recently, is create a "Versioned Media Centre" of sorts with a bit of custom code. This would "kind of" give you what you might be after, but it's not functionality that is available out of the box.
Version Control for files Uploaded to Umbraco site
We are considering using Umbraco as our CMS. One of the questions that came up was if there was an ability to do version control for files that are uploaded to the website built with Umbraco.
Sure you can! An easy way to use version control with your Umbraco files is by using Umbraco cloud. All files pushed to your version control is afterwards pushed to your live environment.
You can read more about Umbraco cloud here: https://umbraco.com/why-use-umbraco-cloud/
Actually, I probably should clarify my question - is there version control for documents that are uploaded to a Umbraco site for viewing, as in Word Docs, etc? (e.g., would an user be able to view a document they uploaded few months ago, and either replace it with a newer version or add the new version and view both documents)?
I'm assuming it's easy to do because date/time of all documents that are uploaded should be tracked in the Umbraco database, amongst other things, but wanted to confirm that it's been used for this purpose.
Hi Jen,
Umbraco doesn't do version control per say, at least not with Media. With Content nodes there is the ability to roll back to previous versions but that doesn't exist with Media, which is what a Word Doc, for example, would qualify as.
Nothing stops you uploading as many versions of a word document to the media library, however it would get pretty messy to manage if you were doing it alot, and you'd need to update any references to the media item each time you wanted the site to be using the latest version.
What you could do, and it's something I built recently, is create a "Versioned Media Centre" of sorts with a bit of custom code. This would "kind of" give you what you might be after, but it's not functionality that is available out of the box.
Thanks
Nik
is working on a reply...