AI OnAI Off
Hi,
Basically you can use AvailableContentTypes attribute, something like:
[CatalogContentType( GUID = "f20a74d6-5dfe-4116-8243-119c7bfe667f", DisplayName = "MyBundle", AvailableInEditMode = false)] [AvailableContentTypes(Include = new[] { typeof(Variant1), typeof(Variant2) })] public class MyBundle : BundleContent { }
Regards,
/Bien
Hi,
Basically you can use AvailableContentTypes attribute, something like:
[CatalogContentType( GUID = "f20a74d6-5dfe-4116-8243-119c7bfe667f", DisplayName = "MyBundle", AvailableInEditMode = false)] [AvailableContentTypes(Include = new[] { typeof(Variant1), typeof(Variant2) })] public class MyBundle : BundleContent { }
Regards,
/Bien
Hi,
Let's say I want to create a very specific bundle type and only allow certain types of variants to be added to it. Is there an out of the box solution to restrict which variant types an editor can add to a bundle?