Days-to-show-new-icon: Stsadm property (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.



Specifies the number of days to display the "New" icon for items added to a Web site.


stsadm -o setproperty

-propertyname days-to-show-new-icon

-propertyvalue {A numeric value (number of days)}

**\[-url\]** *\<https://server\_name\>*

The syntax for the getproperty operation is:

stsadm -o getproperty

propertyname days-to-show-new-icon

**\[-url\]** *\<https://server\_name\>*


You can substitute -pn for -propertyname and -pv for -propertyvalue.

Property values

The following table shows possible values.

Name Value


Gets or sets the name of the property.


The number of days you want the "New" icon displayed on the Web site.


Typically, a path to the URL of the Web application, in the form http://server_name.


To set the number of days to 14 days for the "New" icon to be displayed on a Web site, use the following syntax:

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