I am upgrading an Umbraco version 6.0.5 to the current latest version 7.4.3.
I have an old blog package on this site and want to upgrade it to a new blog tool. I have hundreds of Blog posts that will need to be moved to this new blog tool.
Will I need to move all the nodes and then update their doctypes one-by-one, or is there a tool that will allow me to update the doctypes of all these nodes in bulk?
Perhaps you should have a look at the CMSimport package, which you can find here http://soetemansoftware.nl/cmsimport - It allows you to easily import content from various different sources.
So if you're able to export the blog content in any of the listed formats you should be able to rather quickly import and map them to your new structure. But be a aware that it's a commercial package - First 500 imports are free though.
I think this is perhaps the best fit in this scenario - Not sure whether uSync can be of use too though.
Thanks Jan,
I have used CMSImport before for other purposes, but hadn't thought of exporting the content first in order to import it.
However, won't this just create all new nodes with the imported content? I was hoping to keep the Node IDs intact as they are now for all Content nodes and also wanted to keep all version history for all nodes intact. I think I will lose that version history doing it this way, won't I?
Basically, you store a mapping of old/new properties, call ChangeContentType, then set the values of those properties (based on the mappings you stored), and finally save (or publish) the content node.
I have this hi on the feature list for Bulkmanager http://soetemansoftware.nl/bulkmanager (yet another commercial plugin from the maker of cmsimport ;-) ) . Can re-schedule some things and work on this next week, will that be on time for you?
Change doctype of bulk nodes after upgrade
I am upgrading an Umbraco version 6.0.5 to the current latest version 7.4.3. I have an old blog package on this site and want to upgrade it to a new blog tool. I have hundreds of Blog posts that will need to be moved to this new blog tool.
Will I need to move all the nodes and then update their doctypes one-by-one, or is there a tool that will allow me to update the doctypes of all these nodes in bulk?
Hi Lucas
Perhaps you should have a look at the CMSimport package, which you can find here http://soetemansoftware.nl/cmsimport - It allows you to easily import content from various different sources.
So if you're able to export the blog content in any of the listed formats you should be able to rather quickly import and map them to your new structure. But be a aware that it's a commercial package - First 500 imports are free though.
I think this is perhaps the best fit in this scenario - Not sure whether uSync can be of use too though.
Just my 2 cents :)
Hope it's of any use.
/Jan
Thanks Jan, I have used CMSImport before for other purposes, but hadn't thought of exporting the content first in order to import it.
However, won't this just create all new nodes with the imported content? I was hoping to keep the Node IDs intact as they are now for all Content nodes and also wanted to keep all version history for all nodes intact. I think I will lose that version history doing it this way, won't I?
Thanks for your suggestion.
Looks like you can do this programmatically using the
ChangeContentType
function: https://our.umbraco.org/forum/developers/api-questions/59280-How-to-change-DocumentType-programmaticallyIt also looks like you'll have to republish all the nodes to be sure the change takes effect.
Thanks Nicholas,
It looks like that solution only works when the properties match exactly, right? The properties in my doctypes are not all the same.
Is there some property mapping I could do within that foreach loop?
I'd do what the Umbraco core does: https://github.com/umbraco/Umbraco-CMS/blob/75c2b07ad3a093b5b65b6ebd45697687c062f62a/src/Umbraco.Web.UI/umbraco/dialogs/ChangeDocType.aspx.cs#L241
Basically, you store a mapping of old/new properties, call
ChangeContentType
, then set the values of those properties (based on the mappings you stored), and finally save (or publish) the content node.Hi Lucas,
I have this hi on the feature list for Bulkmanager http://soetemansoftware.nl/bulkmanager (yet another commercial plugin from the maker of cmsimport ;-) ) . Can re-schedule some things and work on this next week, will that be on time for you?
Best,
Richard
Wow, Richard, that would be awesome.
I still have a coupe weeks before I actually start trying anything with this. Still in the estimating phase.
Thanks a lot for offering that.
Hi Lucas,
It is working already. Bit more testing before release but all looks good :)
Cheers,
Richard
is working on a reply...