it's long time thata i don't wirte no this forum! I improved myself in umbraco... but i have always the same frustration: change the document type for a node or for some nodes... It is possibnle now with umbraco 4?
Are there some solution? If i change some fileds on table cmscontent i can change the document type of a node? And i change the filed type (i.e. richetext to textmultiple) do i lost my data??
But there is not a way in the GUI to do it. I have done it in the database. You need to change the data property of your current document type data properties to the new document type properties because every single document type has new property data. Then, you can change the document type in the database as well. A user control could be created and packaged to do this that would just require you to line up the different properties. I just haven't created one because I haven't need to switch document types that much.
I just looked and you need to change the [propertytypeid] in the table cmsPropertyData to the new property type id. Then, you need to change [contentType] in the table [cmsContent] to your new document type id.
There is no supported way to change the Document Type of a node. Editing the database to perform the changes may result in data corruption, an unstable umbraco install or a disruption in the space-time continuum.
Change a node document typew definitely?
Hi to all,
it's long time thata i don't wirte no this forum! I improved myself in umbraco... but i have always the same frustration: change the document type for a node or for some nodes... It is possibnle now with umbraco 4?
Are there some solution? If i change some fileds on table cmscontent i can change the document type of a node? And i change the filed type (i.e. richetext to textmultiple) do i lost my data??
Doesn't exit a tool or a scripts?
Thanks very much
Gabriele
You can look at this forum topic for more information: http://forum.umbraco.org/yaf_postst5006_Change-document-type.aspx
But there is not a way in the GUI to do it. I have done it in the database. You need to change the data property of your current document type data properties to the new document type properties because every single document type has new property data. Then, you can change the document type in the database as well. A user control could be created and packaged to do this that would just require you to line up the different properties. I just haven't created one because I haven't need to switch document types that much.
I just looked and you need to change the [propertytypeid] in the table cmsPropertyData to the new property type id. Then, you need to change [contentType] in the table [cmsContent] to your new document type id.
There is no supported way to change the Document Type of a node. Editing the database to perform the changes may result in data corruption, an unstable umbraco install or a disruption in the space-time continuum.
is working on a reply...