Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
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?