Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Yes. Here's some pseudo code
YourContentAreaProperty.Add(IContent);
Or if you already have a contentarea with references something like this.
YourPage.SetValue("ContentAreaPropertyName",contentareawithreferences).
Don't forget to save the page
contentRepository.Save(yourpageobject, EPiServer.DataAccess.SaveAction.Publish, Security.AccessLevel.NoAccess);
hi, is there a way to add block on a content area programmatically?