I cant see in the code that the other pages are using templates except the one that im working on. I have made a template for this page using the steps in the docs here: https://docs.kentico.com/k12sp/developing-websites/page-builder-development/developing-page-templates-in-mvc
From the main controller it goes to var node = tree.SelectNodes().WhereEquals("NodeAlias", nodeAlias).FirstOrDefault(); return new TemplateResult(node.DocumentID); but never reaches the template controller. In the event log i can see an error: "Message: Page template not found for selected page"
But even if the template controller has the [assembly: RegisterPageTemplate("CompanyName.MyTemplate", typeof(MyTemplateController), "My template")] I cannot see it in the Page Templates(MVC) module nor does it appear when creating a new page.