Try our conversational search powered by Generative AI!

Preview for Blocks


Hello team,

Based on the documentation,  I am trying to create a preview for one of the blocks I have. The block essentially has only one XHTMLString property. I created a partial view with the name of the Block and kept it in the views/shared/blocks folder but it doesn't give me the option to preview.

Is there anything am missing? Per documentation I don't necessarily need controller or view model. 

May 06, 2021 16:31

Do you have a preview controller? 

May 07, 2021 14:59

I don't have a preview controller as I was in understanding that there is no controller or view model required.

May 07, 2021 15:04
May 07, 2021 15:07

Thank you for this. I will give this a try. I was under assumption that no controller or view model required (but I guess that meant no block specific controller or view model required) I will update once I have tried this.

May 07, 2021 15:52
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.