Surendra Sharma

Surendra Sharma

Search This Blog

Friday, May 5, 2017

How to change Sitecore standard UI messages

Have you ever imagined how to change Sitecore environment messages? Follow below steps for the same.

  • Open Sitecore in desktop mode
  • Select CORE database
  • Goto "/sitecore/system/Dictionary"

Here you will find alphabets wise folders. Each folder contains dictionary entry item which contains two fields - Key and Phrase.

Key is shared fields while Phrase is unversioned. 

Important note – Never change Key field entry.

For example if you want to change message "You cannot edit this item because it is protected." displayed on Home item as

Message on Home item
Message on Home item

As this message is start with letter "Y", so find this message item in Y folder and update the phrase field as shown below

Edit message from dictionary item
Edit message from dictionary item

After updating phrase field, again select Home item and vowwww we get the new message instantly.

Updated message on Home item
Updated message on Home item

I hope you like this Sitecore article. Stay tuned for more Sitecore related articles.

Till that happy Sitecoring :)

Please leave your comments or share this article if it’s useful for you.

Thursday, April 13, 2017

Android : Windows of mobile world

Created presentation on why people called Android as windows of mobile world

Wednesday, April 5, 2017

How to recycle application pool automatically in IIS

What will you do if you get a call on holiday or weekend that your website hosted server is consuming 95% CPU utilization due to IIS worker process and within a few minutes, your server is going to crash and your website will not be accessible?

You have to access the server and recycle your app pool, right?

Can we provide some automated solution for this?

Yes, fortunately IIS can take care of this situation.

Let's say if CPU utilization reached to 92% and it remains at 92% or more for next 3 minute then we want IIS should recycle application pool automatically.

Follow below steps to achieve this.

  • Open IIS. 
  • Right click on your website application pool and select “Advance Setting…
  • Locate CPU section 
  • Put Limit (percent) as 92% 
  • Set Limit Action at KillW3wp 
  • Set Limit Interval (minutes) at 3 
  • Click Ok

That's it.

Here is a screenshot for quick understanding

App Pool Recycle automatically
App Pool Recycle automatically

Now no manual intervention is required. You can enjoy your weekend. But remember this is not a a solution, this is just a work around for the problem. You should find the root cause of the problem.