We had a request to add a script to a Context Menu which could be ran on any item in Content Editor. We tried to explore the options and then we came to know about SPE modals. Adding custom SPE scripts to context menus involves a few straightforward steps: Create Your SPE Script: Begin by … Continue reading Add SPE script to the Sitecore Context Menu
SPE
How scripts can ease your life in Multilingual projects
We are working in a multilingual project which have couple of websites hosting certain languages, not all website support same languages, for ex. website one supports English and French whereas second website supports English UK (en-GB) and German. The easiest way in our project to create new website is by cloning the existing website. If … Continue reading How scripts can ease your life in Multilingual projects
PowerShell to update Alt tag for Images in Media Library
The alt tag for the images plays a very important role in the SEO of the web pages which has image tag. So we thought of adding the token in the standard values of the image template (/sitecore/templates/System/Media/Unversioned/Image/__Standard Values). This will handle the Alt tags for all the new images that will be added to … Continue reading PowerShell to update Alt tag for Images in Media Library
Tip for SPE scripts
There was a funny incident that happened with me. I spent a lot of time to understand the script error and changed many things but no luck. The funniest part was I never touched any part of the script expect the Path of the item in the Query and the script broke with following error: … Continue reading Tip for SPE scripts
Creating package using Sitecore PowerShell Extensions (SPE) for multiple items
In the previous blog, we saw how to create a package of items and it's related item using SPE but it was for a single item. Now generally that's not the case in most of our requirements. So lets explore how to create a package for multiple items along with their related items. To create … Continue reading Creating package using Sitecore PowerShell Extensions (SPE) for multiple items
Creating Sitecore package using Sitecore PowerShell Extension (SPE)
If you want to move any Sitecore items from one instance to another then we currently use Packaging or Serialization as an OOTB solution. Many times we create a package of the items where it's template or related items (media library items or rendering items) are missed and we understand it once the package is … Continue reading Creating Sitecore package using Sitecore PowerShell Extension (SPE)