Saturday, May 8, 2010

Change the NEW! item display

I have posted this before, but I just needed to do it the other day again.  If you want to change the number of days SharePoint displays that NEW! icon here is the command.

Enter 0 to hide it all together, or enter 2-6 for the days.  If you enter 0...say to upload some bulk items that you don't want it to show the NEW! on...but you want to turn it back on say to 3 days later...you can, but make sure you wait until the 4th day from your upload to issue the new command otherwise your documents will show the NEW! for how ever many days are left. It goes by the Created On date field.

cd /d %programfiles%\Common Files\Microsoft Shared\Web Server Extensions\12\BIN

stsadm.exe -o setproperty -pn days-to-show-new-icon -pv 0 -url http://WebApplicationDefaultManagedPath

cd /d %programfiles%\Common Files\Microsoft Shared\Web Server Extensions\12\BIN

stsadm.exe -o setproperty -pn days-to-show-new-icon -pv 5 -url http://WebApplicationDefaultManagedPath

Reference Material:  http://support.microsoft.com/kb/825510

No comments:

Post a Comment