sharepoinTony

@info – The practical side of SharePoint

Posts Tagged ‘STSADM’

Adjusting the display of the !New icon

Posted by sharepoinTony on December 31, 2009

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:

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

-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.

Posted in Install and Configure, SharePoint 2007 | Tagged: , , | 3 Comments »