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
SPE
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)