Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
I cannot access the Where|Any|SortBy method on a PageDataCollection object.
Have I missed to reference smthg?
using EPiServer;
using EPiServer.Web;
using EPiServer.SpecializedProperties;
using EPiServer.Core;
using EPiServer.Filters;
How would a good practice be in regards of making a block (SiteContentType) that lists the latest news?
So far i've made a couple of properties:
Heading string
NumberOfNewsListed int
RootPage LinkItem Points to a newspage with children (suspect that this is wrong)
virtual IEnumerable<PageData> News
should return children (Limited to newsitems) of the RootPage property
Right now, I'm struggeling with making a PageReference och PageData from the RootPage LinkItem.
Any suggestions?