Unfortunately, it has been decided that this feature is in the too hard basket for the moment to be implemented. The reason given - the new implementation of multilingual content and the way that is treated is different to V7 and the code can't be just copied across.
Disappointing as this was a very useful feature in Umbraco 7. Hopefully they'll have the capacity to implement in future versions.
Appreciate I'm very late to the party. But if anyone else googles their way here, I found it relatively easily to script the database to migrate some content from one document type to a new version.
Basically I copied the existing document type to a new version. Then used SQL to reassign all the content nodes I wanted to migrate from the old document type id to the new one.
After this I altered the new document type, leaving alone any properties containing content I wanted to keep. So this only works for "narrowing a type. I wanted to go from a generic "page" type, retaining the main grid content, to something more specific - with different templates and permissions.
I also had to rerun the migration script on the Umbraco Cloud databases after deployment.
I have a customer that has imported 8000 pages from another CMS and afterwards we found out that some page types where not correct. So instead of creating about 200 new nodes and moving all children, which would take forever, I used your instructions and scripts. Works like a charm!
@Fiona Killer feature for me in v7... several enterprise clients won't upgrade to v8 because of the reduced agility v8 introduced by removing this feature.
I'm guessing this didn't make it into 9 either... because I've just upgraded a site from 7 to 10.3 and the option's not there. Has there been any progress on this?
Change Document Type in Umbraco 8
I've noticed in Umbraco 8 there is no option to "Change Document Type" when editing a page in the tree (Under the menu Do Something Else).
Does anyone know if this feature will come back or if it's gone for good or if kind of work is recommended now to be handled in a different way.
It was a very handy and useful feature.
Hi Mathew
It seems the action exists here, but has been commented out for now: https://github.com/umbraco/Umbraco-CMS/blob/dev-v8/src/Umbraco.Web/Actions/ActionChangeDocType.cs
I guess it is because the old one was using WebForms and it needs to be re-written with Angular + Web API in Umbraco 8.
The other actions have Angular views and controllers, which exits here: https://github.com/umbraco/Umbraco-CMS/tree/91c52cffc8b7c70dc956f6c6610460be2d1adc51/src/Umbraco.Web.UI.Client/src/views/content
It would be great if you submit an issue here: https://github.com/umbraco/Umbraco-CMS/issues
/Bjarne
Thanks for looking into it. I'll create the issue.
FYI, this was further discussed here..
https://github.com/umbraco/Umbraco-CMS/issues/5070
Unfortunately, it has been decided that this feature is in the too hard basket for the moment to be implemented. The reason given - the new implementation of multilingual content and the way that is treated is different to V7 and the code can't be just copied across.
Disappointing as this was a very useful feature in Umbraco 7. Hopefully they'll have the capacity to implement in future versions.
Appreciate I'm very late to the party. But if anyone else googles their way here, I found it relatively easily to script the database to migrate some content from one document type to a new version.
Basically I copied the existing document type to a new version. Then used SQL to reassign all the content nodes I wanted to migrate from the old document type id to the new one.
After this I altered the new document type, leaving alone any properties containing content I wanted to keep. So this only works for "narrowing a type. I wanted to go from a generic "page" type, retaining the main grid content, to something more specific - with different templates and permissions.
I also had to rerun the migration script on the Umbraco Cloud databases after deployment.
I've written some more complete instructions here: https://this.isfluent.com/blog/2021/changing-document-types-in-umbraco-8
Alan, You're a life saver :-)
I have a customer that has imported 8000 pages from another CMS and afterwards we found out that some page types where not correct. So instead of creating about 200 new nodes and moving all children, which would take forever, I used your instructions and scripts. Works like a charm!
Huge thanks :-) / Markus
Would echo that that the feature 'Change Document Type' is really useful, and it would be nice to have it back.
Since there is no further development on v8, is this functionally on the 'to do' list for v9?
thanks Fiona
@Fiona Killer feature for me in v7... several enterprise clients won't upgrade to v8 because of the reduced agility v8 introduced by removing this feature.
This needs to get back on the list for V9 for sure. This is a feature mostly used when upgrading sites from v7 upwards!
I'm guessing this didn't make it into 9 either... because I've just upgraded a site from 7 to 10.3 and the option's not there. Has there been any progress on this?
is working on a reply...