By Yann Duran on
Friday, October 21, 2011 11:33 PM
Have you ever wanted to be able to change the image that gets displayed for the built-in Save, or Refresh command in the screen ribbon, but you didn't want to have to install a shell extension, or a theme extension?
Maybe you have just ONE screen that needs a different image. Or maybe you'd like to change the image for ALL screens. Well, after Pavan Kumar asked the question in this post
, I did some digging & found that it is indeed possible to do this. I had two goes at it before I found the solution, after wrongly suggesting that it may only be possible in a theme extension.
You'll need to manually edit the project's lsml file, so the usual caveat about making sure you back it up before you touch it applies. This tip applies to LightSwitch 2011, I haven't tried it with LS 2012 yet.
For any screen that you want to change the image for, you'll need to find the following line...