Try our conversational search powered by Generative AI!

Opening block type only in All property view

Vote:
 

How can I restrict a block to be added/edited only in All properyy view.

Thanks
Pankaj

#118596
Mar 10, 2015 16:31
Vote:
 

Hi, Pankaj,

I haven't tried this, but check this code out:

https://gist.github.com/kimgunnarsson/fe573bda045f339c2449

(except you'd need BlockData instead of PageData).

More info here as well:

http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-CMS/75/Content/Assets-and-media/Custom-editing-preview-for-media/

BR,

Marija

#118607
Mar 10, 2015 18:23
* 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.