Restrict available DisplayOptions per content type

Vote:
 

Using EPiServer 7.5, is it somehow possible to restrict which DisplayOptions that should be available for a certain block type or page type? (or say, perhaps for a given ContentArea property).

#206314
Aug 13, 2019 11:13
Vote:
 

I know Mattias Olsson has done some work with this

https://getadigital.com/no/blogg/filtered-display-option-menu-based-on-content-type-in-episerver/

Maybe something you can build on?

#206315
Aug 13, 2019 11:23
Vote:
 

I've used the technique Mattias blogged about but I seem to recall it has a few issues in newer versions of Episerver which will require some resolving (it's all possible though). Scott Reed did similar more recently and so I suspect you wouldn't hit so many issues:

https://world.episerver.com/blogs/scott-reed/dates/2018/4/controlling-episerver-display-options-via-a-custom-attribute/

#206318
Aug 13, 2019 14:52