Some Keystone components, like the Accordion and Tabs components, have multiple views. This allows developers to have a different markup for different states. For example, you can present a Page Editor view or a specific view if certain pieces of data are missing. Use the following steps to extend Keystone components to add your own MVC view.
The Keystone for Sitecore business layer provides generated template entities for each page and component template. These entities provide properties to access each field with a strongly-typed value, as well as properties for template identifiers, field identifiers, and field names. As you extend the Keystone templates and add new fields, you will want to extend these classes for use in your components.
Have you just started with Keystone for Sitecore? Getting your feet wet and have questions? As one of the architects involved in the building of the Keystone development accelerator, I am starting up a new section of this site to provide regular posts on areas of interest, hidden nuggets, and other things you won’t necessarily see in the official manuals.
With just 8 hours of flights between myself and Vegas, the excitement was starting to build. Our team was coming out in full force this year to watch some great sessions, meet awesome people, and show off Keystone at our booth!
After years of building up an accelerator internally to deliver our own solutions to clients more quickly, we’ve productized our framework into the new Keystone platform. Now, it’s time to share with the world!