Compartilhar via


New Item icon in SharePoint - change how long it shows

When new items are added to a list in SharePoint, a 'New Item' icon is displayed next to the new item. 

image

 

So how long is new for you?  1 hour?  1 day?  1 week? 1 month? 1 year?  1 decade?  1 century?  1... okay I'll stop there.  Hopefully in 100 years we have something a little more elaborate than SharePoint for collaborating.  And a flying car to go with it.

In SharePoint, stsadm has a command to allow to change how long this is shown.  It's a virtual server property, so can be changed with the following command (in our example we want to change it to show for 2 days only).

 

stsadm -o setproperty -pn days-to-show-new-icon -pv 2

-pn = Property name
-pv = Property value

 

To pick back up on the random side note - I was able to set the property value to 36500 days. 1 Century...

- Dan Lewis

Comments

  • Anonymous
    January 01, 2003
    2 Days stsadm -o getproperty -pn days-to-show-new-icon -url http://localhost

  • Anonymous
    December 07, 2011
    What is the default ootb vslue of the server property?