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
In Umbraco 7 I wrote like this
... IContentType dt = contentTypeService.GetContentType("nameCont"); ...
Now in Umbraco 8 which is the fastest method to get a specific contentType?
Can anyone help me?
Hey,
Can you use:
IEnumerable<IPublishedContent> t = Umbraco.Content(1234).Descendants().Where(x => x.ContentType.Alias == "nameCont");
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Get a specific contentType on Umbraco 8
In Umbraco 7 I wrote like this
Now in Umbraco 8 which is the fastest method to get a specific contentType?
Can anyone help me?
Hey,
Can you use:
is working on a reply...