Thursday, January 31, 2013

How to put an icon into a SharePoint calendar view


How to put an icon into a SharePoint calendar view



Working on a customized calendar project, the client requested the following:
v     If an executive will be attending an event, put an icon, such as a star, to the left of the event title, in Calendar view.

It sounds straightforward, but in SharePoint, there are often limitations to work around.  In this case, there were two limitations.  One being, that there really are no “icons” in SharePoint 2010.  Two being you can only have one field showing in the month view.  My original thought was to place the icon next to the Title field, but with only one field choice allowed, that wouldn't work.

What you can do; however, is insert ASCII into a text or calculated field.  There are a limited number of ASCII codes for images, but there are plenty of arrows, stars, crosses, etc. to choose from.  So, what I did was created a new calculated field, that was a concatenation of a star, pasted from an ASCII star (if the conditions were met) and the Title field.
The result looked like this:



You can have a lot of fun with this.

Enjoy!
Kristin Cameron, Managing Consultant
Project Leadership Associates

No comments:

Post a Comment