Skip to main content
edited title
Link
Mark Cassidy
  • 25.4k
  • 7
  • 59
  • 117

Is still creating a Model under /sitecore/layout/Models a best pratice?

Source Link
Hugo Santos
  • 2.3k
  • 1
  • 15
  • 38

Is still creating a Model under /sitecore/layout/Models a best pratice?

I was wondering if there was something more modern than having to create a Model item under /sitecore/layout/Models for every view rendering I have.

If I'm informing the view the namespace and type I want as Model, why can't the view infer automatically somehow this information and auto-populate my model with the right fields?