Following the Getting started (Part 2), it shows assigning a defined Model Type to the Sitecore Model.Item
.
However, when I open the Model.Item
it does not seem to have a Model.Type
input.
And as expected, when attaching the model to the Rendering:
@using Sitecore.Mvc
@model Sitecore_first.Models.Car
<div>
@Html.Sitecore().Field("Name")
</div>
I get the error:
Inner Exception: Model definition item does not contain a model type name. Item path: /sitecore/layout/Models/Car. Model type field name: Model Type
What could cause the behavior of no Model.Type
input field to define the Model class path?
Specifications
- Sitecore rocks 2.0.39.0
- Visual studio 2015 Community
- Sitecore 8.2
Model Type
field if you view the item in Sitecore?