November Happy Hour will be moved to Thursday December 5th.

How to hide a category property in block?

Vote:
 

Hello,

I have implement this article http://joelabrahamsson.com/hiding-episervers-standard-category-property/ in my another projects which has episerver cms < 9. They worked perfectly. But for my lastest project using episerver cms 10, that code not working. 

Anyone has ide how to hide a category property in block using cms 10?

Thanks,

/Katharina

#176261
Mar 14, 2017 15:43
Vote:
 

It should work - it does for us.

/Robert

#176319
Mar 15, 2017 22:27
Vote:
 

I had the same problem as Katharina, but after fidling a bit with the EditorDescriptorBehavior that was set to OverrideDefault for our CustomCategoryEditorDescriptor and setting it to just Default, as below, Joels code worked in Epi 10 :)

[EditorDescriptorRegistration(
TargetType = typeof(CategoryList),
EditorDescriptorBehavior = EditorDescriptorBehavior.Default
)]

/Lars

#180700
Jul 21, 2017 13:29
* 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.