Sitecore Item Utility

Challenge:

Recently, We wanted to get few critical things done for one of our client before they Go-Live. We had a couple of weeks to get all those things done with minimal changes. [Normal scenario — Correct? ;)].

With that condition, We had to do bulk template change for 1000+ Media Items, as we added some functionality which was required in new template. We had following options:

  1. https://marketplace.sitecore.net/Modules/S/Sitecore_PowerShell_console.aspx?sc_lang=en
  2. https://marketplace.sitecore.net/en/Modules/Bulk_Template_Changer.aspx

They both are great solution for our challenge. Especially Sitecore Powershell. But If you see both need deployment/package install which has the lot of footprints and as I mentioned earlier, we wanted to have minimal changes before we Go-Live!

So, We thought we will build a simple aspx page [With CodeFile] So, It can be deployed without any App Pool Restart and once used tool can be deleted — Use and Throw. I’m sure you all must have built one/another tool like this. But once your Challenge was solved you struggled to find it. So, as I 🙂 That’s why I thought to blog this!

Solution:

This is how it works:

You can download code from here and modify it as per your need and if you think it can help someone on this earth — Please share your great work!

  1. https://github.com/klpatil/SCItemUtil
  2. https://github.com/klpatil/SCItemUtil.git

Just a note : It is CodeBehind. But It should be CodeFile. So, it works without compiled DLL and No App Pool Recycle will be caused by this deployment

I hope this saves some of your time as it did for us. And you have time doing things which matters the most!

Happy Coding! 🙂

New Module : Sitecore Advanced Stats Page

Challenge:

If you are working with Sitecore performance tuning then you must’ve opened stats page at least once. If you can’t recall then this is how it looks:

 Basic-Stats

Usually we open this page and then we follow the trick as given in below articles to analyze  the given data :

  1. http://blog.navigationarts.com/sitecore-performance-analysis-profiling-debugging-caching-more/
  2. https://sdn.sitecore.net/upload/sitecore7/70/cms_diagnostics_guide_sc70-a4.pdf [Section 2.3]

But as you can read/know it involves getting all data in to EXCEL, remove all data, and then analyze. Also, this page is not intuitive enough to get things done. You think it would be great if we have simplified version of it? Then this module is for you!

Solution:

This is how it looks :

Advanced-Stats-PageThis is how it works :

StatsV2-FirstCut

Have submitted to Marketplace for review. So, will share link once it is available. But I was eager to share [and I am sure you are eager to use] this with you. Package/Source code/Documentation everything is here : http://klpatil.github.io/Advanced-Stats-Page/

Happy Performance Tuning! 🙂