volume_up
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
How do you publish the content? Does the value appear if your IISRESET?
Thanks for the reply.
Below my code used to publish.
var category = contentRepository.GetChildren<MyClass>(parentLink, CultureInfo.GetCultureInfo(model.LanguageCode))
.FirstOrDefault(x => string.Equals(x.Name, model.LanguageCode == "en" ? model.Name : model.EnglishName, StringComparison.OrdinalIgnoreCase));
var writableClone = category.CreateWritableClone<MyClass>();
writableClone .Title = somevalue;
contentRepository.Save(writableClone, SaveAction.Publish);
A title is visible on a website. But not in Episerver back end. It asks for publishing.


Thanks for the reply.
Our requirement is to publish existing content. Not a new one.so below save method worked for us.
contentRepository.Save(writableClone, SaveAction.ForceCurrentVersion | SaveAction.Publish);
Hi,
we have a culture-specific property which on published using API, gets published but the value is not visible for a language other than master language(English)in Episerver. But the value has been updated in DB. Kindly help me to fix this.
Thanks in advance.