Published: 10 November 2016
After giving you all an Insight into The Day in The Life of Me – for those of wanting to read the prize-winning blog post you can relive the magic here - http://sagittarius.agency/blog/a-day-in-the-life-of-me-the-balance-between-technology-and-family
I wanted to bring it back to all things technical. So, whilst working on an existing Sitecore multi-site project, I was faced with the task of removing all redundant language versions of items. I was given a brief to remove all versions of items created incorrectly in Danish for example.
I’d heard that this could be accomplished using the Powershell extension (https://marketplace.sitecore.net/en/Modules/Sitecore_PowerShell_console.aspx) but I wanted to explore another option, this one seemed a little long winded!
I discussed this with my colleague, a highly experienced Sitecore developer and arrived at this very neat way of bulk updating, moving and deleting items using Search Operations.
- Navigate to your site node
- Click the search tab
- Search under the site node for all items by language, using the expression below
- Once your search results have returned, click the small arrow by the search box. “Search Operations”
- Then you should be able to remove all items returned in your search query