Page template not found for selected page.

John Jones asked on July 17, 2019 20:26

Hello,

Has anyone encountered this with the service pack upgrade? I am returning a TemplateResult with the PageID. I am also returning a view that has full html markup but after saving the form in the pages application this error message shows up instead of the page builder with page template chosen.

Thank you,

Recent Answers


Benjamin Vangansewinkel answered on July 29, 2019 15:01

Hello,

I have the exact same issue. Did you found how to fix it?

REgards,

Benjamin V.

0 votesVote for this answer Mark as a Correct answer

Brian Zungali answered on August 28, 2019 21:03

Hello,

I'm also having the same issue on this one. I tried to mimic the Article template from the Dancing Goat project. Anyone ever figure this out>

Thanks,

Brian

0 votesVote for this answer Mark as a Correct answer

Brian Zungali answered on September 7, 2019 01:22

This is more of a note to myself. I had this happen again to me and ended up finding this post again. I figured out I had to delete the page and re-create it. The error is being displayed because the page was created before the template existed. This was the case for me.

2 votesVote for this answer Mark as a Correct answer

John Kane answered on February 22, 2020 01:26 (last edited on February 22, 2020 01:26)

I received this error message by inheriting from Controller and missing the step to instead inherit from PageTemplateController

From Documentation page:

Make the controller inherit from the PageTemplateController base class (available in the Kentico.PageBuilder.Web.Mvc.PageTemplates namespace).
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.