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
You can specify this by letting your Preview template (or controller if you're using MVC) inherit IRenderTemplate<T> where T should be the specific Block you're interested in.
Alloy templates only have one Preview template, hence the preview template inherits IRenderTemplate<BlockData>.
Hi,
Is it possible to have different preview renderers for different blocks? Or do I have to create ONE generic preview renderer for ALL blocks?
//Marcus