Don't miss out Virtual Happy Hour this Friday (April 26).
Try our conversational search powered by Generative AI!
AI OnAI Off
Don't miss out Virtual Happy Hour this Friday (April 26).
Hi! You can, but you need to register them through a UI descriptor, like this:
[UIDescriptorRegistration] public class RelatedItemUIDescriptor : UIDescriptor<IRelatedItem> { }
Then AllowedTypes should work. You can also change other types of behavior in the descriptor, please see http://world.episerver.com/documentation/Class-library/?documentId=cms/8/F39A57F.
Hi all i have structre like on the image:
My BaseArticle Page has content are that looks like this:
My question is why i can't use IRelatedItem or IRelatedItemWithColor inside AllowedTypes. Also when i put BaseArticle page, it will work only for SiteA not for SiteB aritlce pages ( i guess this is due to some cache).
I saw in alloy that there is one contentarea that uses allowtypes and IContent is passed as type, so i am wondering what i'm doing wrong ?
Kind Regards
Nemanja