Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Hide tab from specific page type

Vote:
 

Hi,

is there a way to hide whole Tab at once, but only for the specific page type, instead if adding [Ignore] to each property of the page?

Thanks!

#205927
Jul 29, 2019 13:45
Vote:
 

You could try using an IMetaDataExtender, specifically setting the ShowForEdit property of the properies you want to hide, when all properties on a tab are removed I _think_ the tab dissappears. Some examples of using IMetaDataExtender here:

https://www.david-tec.com/2017/07/hiding-required-properties-on-the-create-new-page-in-episerver/

https://world.episerver.com/forum/developer-forum/Developer-to-developer/Thread-Container/2015/5/is-it-possible-to-move-expire-date-property-/

https://gregwiechec.com/2015/11/show-additional-properties-on-content-creation/

#205930
Jul 29, 2019 14:57
Vote:
 
#205976
Jul 30, 2019 15:54
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.