Tuesday, July 27, 2010

sharepoint list new! icon - don't want to see it?

1.stsadm.exe -o setproperty -pn days-to-show-new-icon -pv 0 -url http://yourwebsite

2.Or more a gentle way to remove "New!"  from the list view web part - convert it into  a XSLT web part

and then delete the following line:

<xsl:if test="ddwrt:IfNew(string(@Created))"><IMG SRC="/_layouts/1033/images/new.gif" alt="New" /></xsl:if>   
  This second approach allows to keep the functionality throughout the site but you can customized the particular web part on the specified page