Another Handy Powershell Script: Enabling Item Level Language Fallback on Standard Values

Posted 10/25/2016 by Ed Kapuscinski

When setting up a multilingual site using Language Fallback, you'll often want to enable language fallback on items en masse. This powershell script will do just that for you.

(Get-Item master: -Query "/sitecore/templates//*[@@name='__Standard Values']")| ForEach-Object {
   
    $_.Editing.BeginEdit()
    $_.Fields["__Enable item fallback"].Value = "1";
    $_.Editing.EndEdit()
    ""
}

I was just going to save this somewhere for myself, but figured the community could use it too.

Share:

Archive

Syndication