Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Take a look at the ContactBlockController in the Alloy templates, it creates a view model for the ContactBlock type.
You could also take a look right here: https://github.com/episerver/AlloyDemoKit/blob/master/src/AlloyDemoKit/Controllers/ContactBlockController.cs
I would like to add a list of objects to my Blocks view model, but I can't use my knowledge of making page view models to make block view models. How would I go about his?