Limiting display options with tags

Vote:
 

In Alloy demo site, in DisplayRegistryInitialization 3 display options has been added to ServiceLocator.Current which tells Episerver to show those 3 options for all blocks. However, for some blocks we only have 1 or 2 of those options available, like on JumbotronBlock (look at TemplateCoordinator). 

As a result, the editor can select  an unavailable option (like "narrow" for JumbotronBlock) and end up with a "The 'JumbotronBlock' can not be displayed" message not knowing what is worng. 

Is there any way to limit display options for each individual block type?

#174876
Feb 07, 2017 9:56
Vote:
 

Thanks Yauheni,

It is exactly what I want

#174884
Edited, Feb 07, 2017 10:39
Vote:
 

Why cant I mark your post as an answer? :|

#174885
Feb 07, 2017 10:40
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.