Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.
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?