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
Hi, I have
Items= Umbraco.Content(Model.Content.Id).Children.OrderByDescending(x => x.Name).ToList()
and I'm getting : 'Umbraco.Core.Models.PublishedContent.PublishedContentWrapped.Content' is inaccessible due to its protection level
'Umbraco.Core.Models.PublishedContent.PublishedContentWrapped.Content' is inaccessible due to its protection level
how do I get this list view data?
found the solution:
@inherits UmbracoTemplatePage @using Umbraco.Web @using Umbraco.Web.Mvc @using ContentModels = Umbraco.Web.PublishedContentModels;
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.
Continue discussion
Content' is inaccessible due to its protection level
Hi, I have
and I'm getting :
'Umbraco.Core.Models.PublishedContent.PublishedContentWrapped.Content' is inaccessible due to its protection level
how do I get this list view data?
found the solution:
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.