You upload a document in SharePoint 2007 and the nifty little !NEW icon appears, but for how long? I couldn’t find a difinitive answer, some places said the default is 1 day, others listed 2 days. Well, it doesn’t matter now because I just set it to the number of days I wanted it to display. Here is how:
-pn = Property Name, In this case it is “days-to-show-new-icon”
-pv = Property Value
X = Number of Days
For example, If you would like “New Item” icon to be displayed for 2 days then you want to execute following command:
stsadm -o setproperty -pn days-to-show-new-icon -pv 2
Nothing shattering here, just a handy reference.