Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am working on Sharepoint 2010 and I have created a custom list. I set the default "Title" field as "hidden" and I am wondering how I can attach the "NEW" icon to a specific field for which I want to track the new records.

share|improve this question

migrated from stackoverflow.com Jan 25 '12 at 13:42

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 2 down vote accepted

You'll need to create a new display, usually with a data view web part. Within the XSLT, you can add this code:

<xsl:if test="ddwrt:IfNew(string(@Created))">
    <img src="/_layouts/1033/images/new.gif" alt="New" />
</xsl:if> 

Which will display the New! icon for you.

Reference: http://sharethelearning.blogspot.com/2007/06/how-to-display-new-icon-against-list.html

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.