Creating an icon for the custom action in your SharePoint App

This is a quick post to show how to creating a good looking Icon for your SharePoint custom action.

First create the icon

Download Metro Studio from Syncfusion. This will allow you to select an icon from a huge range of royalty-free icons.


Pick the icon which best suites your custom ribbon action.


You will need two icons. One 32px and one 16px. Choose the colour for your icon and set the background to transparent. Then simply export both versions as a PNG.

Encode your image

I tend to encode the images and put that in the custom action XML, so you will need to encode them. Fortunately Richard diZerega created a tool to do this easily for us.


This will encode the image into a base64 string, which we can then use in our custom action definition.

Modify the Custom Action

Once you have the file encoded you can then change the Image32by32 and the Image16by16 in your custom action definition.


And there you go, a quick simple icon for your custom action.
blog comments powered by Disqus

SharePoint on Windows Phone

AgilisPoint a free App for your Windows Phone