Try our conversational search powered by Generative AI!

Only allow a block in one specific content area

Vote:
 

a

#197321
Edited, Sep 30, 2018 10:06
Vote:
 

Nothing out the box as far as I am aware. If you want to avoid some coding but fulfill the requirement you can always create a custom IValidator<T> that checks the block types. Wouldn't stop the user from dragging the block in but would stop them publishing.

#197325
Sep 30, 2018 17:40
Vote:
 

Setting the ContentType to AvailableInEditMode = false almost does what you need. You could auto generate the block in certain ContentAreas but still seems a little unwieldy.

#197332
Oct 01, 2018 3:08
* 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.