Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How can I get the list of all the document types created in Umbraco?
After some googling I didn't find any API regarding the list of document types.
Can anyone help to get the list of Doc types?
Thanks in advance.
Did you mean ContentType?
Try to look:
You can use GetAllContentTypeAliases, you will have all content type aliases, and then if you need you can get contenTypes by alias.
Thanks Alex for the reply.
I mean "Document Type". Please see the below image. I need the list of all the Document types.
From the above ContentTypeService I didn't get the list of the Document Types.
Urvish, you get list of aliases and get each content type by alias.
DocumentType = ContentType
Got the list.
Urvish, you are welcome.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted