I am using umbraco 7 and I was testing to create a Master Document Type that other Document types can inherit from.
I already created a Document Type without a Master Document type before I created the Master Document Type.
I see that we can't change an existing Document type its Master Document type property so I use the Copy command.
The thing I did was removing the (Copy) text so that the alias is the same of the one I do the copy on.
That gives me a Server Error in '/' Application. Can't this be more flexible and userfriendly that instead of this error you still see the input form but with an error message?
Because now you have to click else where and do these steps again.
First can you try to bring your installation back where you don´t have the copy version of your document type. The importat thing here is in Umbraco the alias must be unique. But if you are able to get a stable version where you can navigate to document types again. The what you could do is.
1. Click on one of your document types that have the master as parent, then export this one.
2. Do the same for the document type that has no master document type. After that you open up both document types in your favroite editor and you will see something like this for the one that has a master document type
After that save the file, and import the document type to your Umbraco installation again. After the import, select the document type folder and reload the notes, then your document type shold be under your master document type
Maybe you have mess up the database, so you need to start all over again, but then you have this information for next time.
Hope this helps, if you have further questions about this, please ask again.
Here is where I got the Server error after clicking save in the copy window of the Document type:
When I clicked another node the error disappears. So I could still keep working on the backend.
Its just I think this is not the best solution.
Maybe like I said, if the user enters the same alias like the original one, you could stay on the form with the addition of an errormessage saying that the alias can't be the same as the original one:
Yep as I said in my previous post the document type alias must be unique. I think that you might have messed up the database. So if you not are to long in the project proceess it I might be easier to setup a new installation and restore your setup. in the new installation by created the document type on new.
I think that you can solve this, but you will have to go to the database and try figured how the database is structured. So I you are to far in the project it´s maybe easier and faster setup a new installation and set the document types and nodes up again.
But now you know how you can get an document type under a master document type next time, by export and import fuction.
And as they said on the Umbraco Level 1 certification course is always a good idea the think your website structure thought so you don´t end up in something like this :-) I know that you propperly are new to Umbraco, therefor now you know the import export feature. And keep asking your questions in this forum we are friendly people,anditisgood way tolearnUmbraco.
Hope this helps, I know it´s not the answser that you where hoping for.If you finda bug orhavesuggestions toimprovetheUmbracoback office,please do not hesitateto make a bug report or afeature request. This can be done here: http://issues.umbraco.org/ You will need to create a user to make a bug report or feature request. Here are some good doumentation on how to write a good bug report or feature request. http://our.umbraco.org/contribute/report-an-issue-or-request-a-feature
Copy Document Type
Hi all,
I am using umbraco 7 and I was testing to create a Master Document Type that other Document types can inherit from.
I already created a Document Type without a Master Document type before I created the Master Document Type.
I see that we can't change an existing Document type its Master Document type property so I use the Copy command.
The thing I did was removing the
(Copy)
text so that the alias is the same of the one I do the copy on.That gives me a
Server Error in '/' Application
. Can't this be more flexible and userfriendly that instead of this error you still see the input form but with an error message?Because now you have to click else where and do these steps again.
Michael
Hi Micheal,
I will try to help you the beset I can.
First can you try to bring your installation back where you don´t have the copy version of your document type. The importat thing here is in Umbraco the alias must be unique. But if you are able to get a stable version where you can navigate to document types again. The what you could do is.
1. Click on one of your document types that have the master as parent, then export this one.
2. Do the same for the document type that has no master document type. After that you open up both document types in your favroite editor and you will see something like this for the one that has a master document type
And something like this for the one that don´t has a master document type yet:
And to this document type under the master document type you simply add this:
After that save the file, and import the document type to your Umbraco installation again. After the import, select the document type folder and reload the notes, then your document type shold be under your master document type
Maybe you have mess up the database, so you need to start all over again, but then you have this information for next time.
Hope this helps, if you have further questions about this, please ask again.
/Dennis
Hi Dennis,
Here is where I got the Server error after clicking save in the copy window of the Document type:
When I clicked another node the error disappears. So I could still keep working on the backend. Its just I think this is not the best solution.
Maybe like I said, if the user enters the same alias like the original one, you could stay on the form with the addition of an errormessage saying that the alias can't be the same as the original one:
Hi Micheal,
Yep as I said in my previous post the document type alias must be unique. I think that you might have messed up the database. So if you not are to long in the project proceess it I might be easier to setup a new installation and restore your setup. in the new installation by created the document type on new.
I think that you can solve this, but you will have to go to the database and try figured how the database is structured. So I you are to far in the project it´s maybe easier and faster setup a new installation and set the document types and nodes up again.
But now you know how you can get an document type under a master document type next time, by export and import fuction.
And as they said on the Umbraco Level 1 certification course is always a good idea the think your website structure thought so you don´t end up in something like this :-) I know that you propperly are new to Umbraco, therefor now you know the import export feature. And keep asking your questions in this forum we are friendly people, and it is good way to learn Umbraco.
Hope this helps, I know it´s not the answser that you where hoping for.If you find a bug or have suggestions to improve the Umbraco back office, please do not hesitate to make a bug report or a feature request. This can be done here: http://issues.umbraco.org/ You will need to create a user to make a bug report or feature request. Here are some good doumentation on how to write a good bug report or feature request. http://our.umbraco.org/contribute/report-an-issue-or-request-a-feature
Hope this helps,
/Dennis
is working on a reply...