7/01/2009

SharePoint: How long is a document or item “New”

 

The default is 2 days (or 1 full day plus time until midnight the next day)

To change the value (you must have admin access to the server):

  stsadm -o setproperty -pn days-to-show-new-icon -pv Number_Of_Days -url http://Your_Server_Address

To check your current value:

  stsadm -o getproperty -pn days-to-show-new-icon -url http://Your_Server_Address

2 comments:

Anonymous said...

Any thoughts on how to do this with a url that references the content type after the 'Source'? I have a content type that is not the default type and would override the content type if I edited right after 'Source'... if that makes sense.

Mike Smith said...

Anonymous,

Not sure what you are asking about.

If about custom use of the "New" icon, then take a look at this article: http://techtrainingnotes.blogspot.com/2013/10/add-sharepoint-icon-anywhere-sharepoint.html

If about working with "Source=" see: http://techtrainingnotes.blogspot.com/2009/06/sharepoint-redirecting-to-page-after.html

Mike

Note to spammers!

Spammers, don't waste your time... all posts are moderated. If your comment includes unrelated links, is advertising, or just pure spam, it will never be seen.