1,804 articles and 14,898 comments as of Friday, June 3rd, 2011

EndUserSharePoint has combined resources with NothingButSharePoint.com. You can now find End User (Mark Miller), Developer (Jeremy Thake) and IT Pro SharePoint content all in one place!

This site is a historical archive and is no longer being updated. Please update your favorites, bookmarks and RSS feeds.

NothingButSharePoint.com
Monday, September 1, 2008

EndUserSharePoint.com: How to create links, labels and coloring in a SharePoint list

TwoI received a note from Christophe at Path to SharePoint about a few articles he has been working on. 

There are many people who want to be able to create HTML within a list cell in SharePoint. Using calculated columns to write HTML is a step-by-step process for doing that.

A second desire for many people is to have a hypertext link within a calculated column that does not show the link, just the label. The question comes up almost daily. Christophe use the Concatenate function to string everything together in How to Open Hypertext in a New Window (Or Not).

A third common question is how to color code cells within a list. Christophe uses another calculated column to add a “div” tag, controlling the color through “style” attribute. You can read about it in Applying color to your SharePoint lists.

Using the Calculated column with hardcoded stings and conditional statements does a lot more than people think. Thanks for the pointers, Christophe. Nice work.

For more information on the calculated column, you can follow the Taming the Elusive Calculated Column series by Dessie Lunsford, here at EndUserSharePoint.com.

 

Please Join the Discussion

One Response to “EndUserSharePoint.com: How to create links, labels and coloring in a SharePoint list”
  1. Christophe says:

    I have updated the script for the above links. It now works for both expanded and collapsed views.


Notify me of comments to this article:


Speak and you will be heard.

We check comments hourly.
If you want a pic to show with your comment, go get a gravatar!