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
Hello, i have an issue copying a catalog(duplicatieing it) on our production server. I first copy the item in the main language and then acces it on the other languages and copy it as well. On my local server this works without any issues. On the production server i get : "the provided content link does not have a value" after the last line in the posted code. The value for amavitaNode.ContentLink is not null though.
var newNode = contentRepository.GetDefault(parentNode, new LanguageSelector("fr"));(node, newNode);
newNode.Name = node.Name;
newNode.Code = "Amavita____" + node.Code;
CopyData
ContentReference nodeLink = contentRepository.Save(newNode, SaveAction.Publish, AccessLevel.NoAccess);
var sunstoreNode = contentRepository.Get
var amavitaNode = contentRepository.Get
amavitaNode = amavitaNode.CreateWritableClone() as LandingNodeContent;
amavitaNode.Language = new CultureInfo("de", true);
CopyData
contentRepository.Save(amavitaNode, SaveAction.Publish, AccessLevel.NoAccess);