New answers tagged

0

Sitecore provides a cleanup agent to clear older media files, which clears media files every specified interval of time. By default it clears all media cache files created 90 days ago. See below settings in sitecore.config: <agent type="Sitecore.Tasks.CleanupAgent" method="Run" interval="06:00:00"> <!-- Specifies ...


1

Use the Display name first step you have to propose valid item name $name= Sitecore.Data.Items.ItemUtil.ProposeValidItemName("A/B Demo") or you can use the below function to clean the name function SanitizeName{ $args[0].Replace(".", "").Replace(" ", "").Replace("/", "").Replace("-&...


Top 50 recent answers are included