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 used to use the ddwrt:IfNew in SP 2007 to show if docs or items are new but trying the below doesn't work. Any ideas....

<xsl:if test="ddwrt:IfNew(string(@Created))">
    <img alt="" src="../images/GMAILNEW.gif" width="16" height="16" />
</xsl:if>
share|improve this question
    
Oops you have to use :@Created_x0020_Date.ifnew instead –  Patrick Nov 4 '10 at 4:45
    
Thanks @Patrick. Please leave your comment as an answer next time, and then you can gain reputation for it as well! –  Alex Angas Jul 5 '11 at 2:10
add comment

1 Answer

Comment as answer from OP:

You have to use :@Created_x0020_Date.ifnew instead.

share|improve this answer
add comment

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.