A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Right....
If anyone else should encounter this problem, do the following:
1. Delete your template from you solution.
2. Add new template and input the same code.
I don't know why this happends....
Ok, I thought I knew how to list articles in EPi v4.61.
I've done this many times in many different ways before.
Now, after 1 year from EPi.... I must be getting senile!
I cannot for the life of.... get NewsList to list any articles. It might by something fundamental I've forgotten. I've tried the following without success.
Attempt 1:
<EPiServer:NewsList runat="server" id="articleList" SortBy="PageName">
------
articleList.PageLink = CurrentPage.PageLink; // PageReference.Parse(CurrentPage
articleList.DataBind();
Attempt 2:
<EPiServer:NewsList runat="server" id="articleList" SortBy="PageName">
------
PageDataCollection newsPages = GetChildren(CurrentPage.PageLink);
articleList.DataSource = newsPages;
articleList.DataBind();
Please help :)