Each document type has a tab named 'structure' this is where you set the rules for what types of documents can be nested beneath others.
typically at the root of the content tree, when you right click and select create, you have access to all the docTypes.
Let's say you have a HomePage docType and you want to create TestType under the home page. You must go to the Structure tab of the HomePage docType and check the box to allow TestType to be created under it.
now when you go back to content and right click on your home node and select create... in the dropdown menu below the text field you shoudl see your TestType docType.
hope you find this helpful, and once again... welcome to umbraco!
i don't typically create docTypes in visual studio... sorry i cannot be of more help. I do it the old fashioned way through the umbraco UI which i explained above.
hopefully Doug or Darren will see your post and offer assistance.
"Register" new Document Type
Who can help me to "register" new Document Type in Settings -> DocumentTypes when Application start.
I've created new Document Type "TestType" inherits from DocumentType.
Where I should register this type and user can create new content page with my type?
@Mike... welcome!
Each document type has a tab named 'structure' this is where you set the rules for what types of documents can be nested beneath others.
typically at the root of the content tree, when you right click and select create, you have access to all the docTypes.
Let's say you have a HomePage docType and you want to create TestType under the home page. You must go to the Structure tab of the HomePage docType and check the box to allow TestType to be created under it.
now when you go back to content and right click on your home node and select create... in the dropdown menu below the text field you shoudl see your TestType docType.
hope you find this helpful, and once again... welcome to umbraco!
Hi Bob,
Thanks for this. I know how create doc type in Umb admin. I've spend 4 days with this persons (@drobar and @darrenferguson).
My question is how to register this type when application started.
I create new docType in my solution in VS called Test and inherit him from DocumentType.
But I don't know how I can add this in UmbracoApplication -> Application_Start.
How I can put this type to the db and then I can see this in the Settings -> DocumentTypes
Thanks
@Mike
i don't typically create docTypes in visual studio... sorry i cannot be of more help. I do it the old fashioned way through the umbraco UI which i explained above.
hopefully Doug or Darren will see your post and offer assistance.
Best of Luck!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.