So i'm brand new to umbraco and very excited to be using it. I've completed the online getting started tutorial that Umbraco provide and now i'm looking to delve a little deeper.
Trying to understand how to create a custom document type from code, rather than use the out of the box feature's id like to know how to create my own.
Can someone provide some info / a link to how I might go about this? I'm certain there is stuff out there but I can't seem to find it! I'm still new so i'm probably not looking in the right place!
How to create a custom document type from code?
Hi all,
So i'm brand new to umbraco and very excited to be using it. I've completed the online getting started tutorial that Umbraco provide and now i'm looking to delve a little deeper.
Trying to understand how to create a custom document type from code, rather than use the out of the box feature's id like to know how to create my own.
Can someone provide some info / a link to how I might go about this? I'm certain there is stuff out there but I can't seem to find it! I'm still new so i'm probably not looking in the right place!
Thanks!
Hi Andy,
in Umbraco you usually don't create DocumentTypes by Code. You are using the UI in the CMS.
There is a IContentTypeService which you can inject into your controller/class and use.
But when you are trying to create your site structure then as said use the UI.
Regards David
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.