Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
AI OnAI Off
Help shape the future of CMS PaaS release notes! Take this quick survey and share your feedback.
Hi Anders,
Which version of EPiServer are you using? I tested your code (with empty BasePage) with EPi 8.3.0 and 8.5.0. Works fine.
Perhaps you have something inside BasePage that's causing the problem?
Hmm, that's weird. I'm using the latest version through Nuget. I'm gonna try it on a different machine with a clean database and a clean installation and see if it solves the problem.
EDIT: Did everything exactlty the same way on a different machine and everything worked perfectly. I hate IT...
Thanks for the help Dejan.
Hi,
I'm trying to setup a new EPiServer 8 project. Everything works fine until it comes to adding a class BasePage which is our base page type. It looks something like this:
Then I add a start pagetype:
The problem is that when I then add the StartPage to the tree in EPiServer it can't be edited. It appears in the tree but I cannot do anything else with it. Not edit it, not publish it, nothing. Nothing appears in the EPiServer UI at all.
It works if StartPage inherits from PageData instead. And the above code also works in EPiServer 7.5. SO it seems like there is a problem with EPiServer 8 in combination with inherited page types. Anyone else got this problem?