A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Hi Jonas,
It's a bit hidden in documentation - but you need to register them at startup. Inside an initialization module's Initialize method, add the following code to register them.
var associationDefinitionRepository = context.Locate.Advanced.GetInstance<GroupDefinitionRepository<AssociationGroupDefinition>>();
associationDefinitionRepository.Add(new AssociationGroupDefinition { Name = "MyGroup" });
Hope this helps,
/Matt
In EPiServer CMS Catalog - when editing an article, how can I create a relation type other than Default?
I'm using
EPiServer.CMS version="8.11.0"
EPiServer.Commerce version="8.16.1"