November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
Hi,
You can find more pieces of information on the below links-
https://world.episerver.com/documentation/developer-guides/CMS/Content/content-versions/
Hi JJ,
Set Saved version as Common Draft as following:
...
writablePage.Name = "a new name";
var saveAction = SaveAction.CheckIn | SaveAction.ForceNewVersion;
var newReference = _contentRepository.Save(writablePage, saveAction, EPiServer.Security.AccessLevel.NoAccess);
var repository = ServiceLocator.Current.GetInstance<IContentVersionRepository>();
repository.SetCommonDraft(newReference);
Hi,
We have a custom class that extends PageData.
We are currently saving the data using IContentRepository.
How can we set the saved version as Common Draft?
Also, is Common Draft the same as Primary Draft? Documentation is not clear on that.
Thanks,
J