The page displays fine on the MVC side it is the display in the Page tab of the admin side that doesn't work. I have only one culture en-US it is set as the default culture so I'm not pulling the wrong culture. The page tab should display whether the content it published or not. How can you add widgets to a page if you can't see the page tab.
I don't have the Dancing Goat site installed so, no it's not working.
The tutorial is here: https://docs.kentico.com/k12sptutorial/mvc-development
Is there a better tutorial somewhere because this one is not very good. There is no help trouble shooting anything they assume everything the tutorial says to do will work but it doesn't. The tutorial says to mark the 'use page tab' checkbox in the Page Type, which I did. But if you mark the 'use page tab' checkbox you get an error when you try to add a page using that page type.
An error occurred while attempting to retrieve page templates. Contact your system administrator and check that the page builder feature is registered correctly in the MVC project.
But if you unmark the 'use page tab' you can add the page without it throwing this error. Then if you go back and mark the 'use page tab' the page tab shows up but the page will not display.
I believe the page builder feature is registered correctly. Here's the Global.asax:
protected void Application_Start()
{
// Enables and configures selected Kentico ASP.NET MVC integration features
ApplicationConfig.RegisterFeatures(ApplicationBuilder.Current);
//Registers routes including system routes for enabled features
RouteConfig.RegisterRoutes(RouteTable.Routes);
// Registers enabled bundles
BundleConfig.RegisterBundles(BundleTable.Bundles);
}
And my Application.Config is:
public static void RegisterFeatures(IApplicationBuilder builder)
{
// Enable required Kentico features
// Uncomment the following to use the Page builder feature
builder.UsePreview();
builder.UsePageBuilder();
}
I've gone back through the tutorial several times to make sure everything is set as instructed. I have the Presentation URL set properly I have '/Home' set as the URL Pattern on the Page Type. and I believe I have page builder properly registered but still the page tab still throws the 404 error.