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
Many a times we have to sync our local Master database with the latest content from higher environments and restoring the database is not always the option. Thankfully we have Sitecore Sidekick to rescue. There are two main packages to choose from: Sitecore Sidekick Complete installs the Sidekick framework and all standard modules. It's the … Continue reading How to use Sidekick?
Recently I was trying to install Sitecore 9.1.1 on my machine and started getting an weird issue i.e. "Cannot validate argument on parameter 'Path'" during the xConnect installation piece. I went and checked if all the prerequisites were installed correctly and also ran few msi files as suggested in this link: https://sitecore.stackexchange.com/questions/22639/sif-exception-cannot-validate-argument-on-parameter-path But the solution … Continue reading Sitecore 9.1.1 installation error – Cannot validate argument on parameter ‘Path’
Recently, I had to enable CDN for our Sitecore instances. After following the instructions available in Sitecore documentation, everything seemed to work fine. There was use case where we had to exclude PDF documents from the CDN route to keep the security for some of the documents in place. The suggested approach was to add a … Continue reading Adding a Processor to getMediaUrlOptions Pipeline
There is a lot of discussion around the Log4J CVE in the community. If you haven't heard or read about it then below is the good read https://support.sitecore.com/kb?id=kb_article_view&sysparm_article=KB1001391 The Sitecore versions that got affected are:Sitecore XP 9.2Sitecore XP 9.3Sitecore XP 10.0Sitecore XP 10.1Sitecore XP 10.2 Versions not affected Sitecore XP 9.1 and earlier versions are … Continue reading How to quickly mitigate Log4J critical vulnerability?
This year has been amazing for me as I received my first ever "Sitecore Technology MVP" award, started a new job and moved to my new home! With that said, I got a chance to share my knowledge through online channels compared to offline channels. My goal is always to create a knowledge base which … Continue reading A big thank you from Sitecore Diaries for 25K views in a year!
We are using Sitecore 9.3 and we activated Personalization on the Home page of our website. Everything was working as expected but we started noticing that Google Bot was directed to 500 Error page inconsistently. Upon more research we understood that there was one error consistent in the logs whenever the Google bot was redirected … Continue reading Application Error – Sitecore.ContentTesting
This a common ask if you are not using EXM, you need to send thank you emails or emails to the admin team with the details of the submitted entry. This can be achieved in 2 steps: Create a class which inherits from Sitecore.ExperienceForms.Mvc.Processing.SubmitActions.SendEmail and write your custom logic.Add a Custom Submit Action under /sitecore/system/Settings/Forms/Submit … Continue reading Creating custom submit action to send the emails in Sitecore Forms
We had a requirement of pushing some Sitecore items to third-party applications once those are publish on the Live (Web database). We had to attach a custom event handler in the Publishing event. Now the handler needs to be added in both publish:end and publish:end:remote, the former works well on single instances and CM server … Continue reading How to add custom Event handler in Sitecore?
This blog is very simple tip but thought of sharing it. We had a rebranding of a word across our Media like (News, Events, Blogs, etc.) and it is impossible to go to each and every word manually and change it. The simplest solution was to write a Script in SPE and execute. Then I … Continue reading Sitecore Tips – Search and Replace