AI OnAI Off
SectionPageData clone = currentPage.CreateWritableClone() as SectionPageData;
if (clone.ArticleList != null)
{
if (clone.ArticleList.Count > 0)
{ clone.ArticleList.Fragments.RemoveAt(0);
}
}
DataFactory.Instance.Save(clone, SaveAction.Publish | SaveAction.ForceCurrentVersion);
Hi,
I'm trying to update a pagedata which has a property of type ContentArea, say example, I'd like to remove some elements of that property but it seems that ContentArea type has some special settings that I cannot save by using either DataFactory.Instance.Save(clonedPage,SaveAction.Publish) or contentRepository.Save(...)
Do you have any idea?