I'm trying to make a new Page View / Page Template in the DXA 1.7 Sample site, using my own Module, but it will not render the Entity View (or Region with an Entity View).
I've created an Area and Folder structure for the items, and I've registered my Region and Page View, as well as putting my module namespace in the Views config. I've also done the Metadata ceremony on the Templates in the CMS, published the 'Publish Settings' page and also the Page. However, after all these steps, it still doesn't work. I'm sure I missed something simple - what could it be?
The model item passed into the dictionary is of type 'Sdl.Web.Common.Models.RegionModel', but this dictionary requires a model item of type 'Sdl.Web.Common.Models.PageModel'
I am using my own Area, RC, and I have the folder structure:
In the Page View I use the following syntax to attempt to show my RcMain Region and the Entity View:
@Html.DxaRegion("RcMain", containerSize: mainContainerSize)
In the Region folder I have a Region with the code:
@model RegionModel <div @Html.DxaRegionMarkup()> @Html.DxaEntities() </div>
In the APA Area Registration I have:
I also registered my Page View and Entity View.
RcMain, but you register a Region View called
ApaMain? The error message suggests that your Region View contains a