惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
J
Java Code Geeks
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
阮一峰的网络日志
阮一峰的网络日志
爱范儿
爱范儿
量子位
N
Netflix TechBlog - Medium
博客园 - 聂微东
博客园 - Franky
aimingoo的专栏
aimingoo的专栏
The Cloudflare Blog
T
The Blog of Author Tim Ferriss
MyScale Blog
MyScale Blog
Google DeepMind News
Google DeepMind News
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
C
Check Point Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
B
Blog
Engineering at Meta
Engineering at Meta
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
H
Hackread – Cybersecurity News, Data Breaches, AI and More
腾讯CDC

博客园 - yier

ZZ:修改sharepoint文档库文件类型显示图标(PDF,WinRAR) ZZ: How to remove 'Open in Windows Explorer' from the 'Actions Menu' zz: 如何查询SQL Server数据库的版本 zz: 关闭WIN2003关机事件跟踪程序 zz:MOSS內容資料庫的分配與管理 zz:CAML簡介 zz:全局化定制MOSS樣式 zz:貼幾個常用的MOSS樣式選擇器 ZZ:SharePoint常用目录介绍 ZZ:如何修改默认的site template大小 ZZ:JMeter使用指南 ZZ: Moving or Renaming the WSS Central Administration Content Database zz: 如何移動已存在的SQL Server 2005中的user database Search settings - Authentication failed because the remote party has closed the transport stream - yier zz: Calculated Columns - Displaying Images from oscar ZZ: Uploads with SharePoint 2007 - Antivirus From Eric Cherng zz: SharePoint 2007 Folders from Eric Cherng [原创] 在dos命令行里面取当天是“星期几" ZZ: 如何禁止掉SharePoint页面个性化?(续) from kaneboy
zz:如何更改列表项前的New标记的天数设置(days-to-show-new-...
yier · 2008-11-30 · via 博客园 - yier

今天群里有人问,查了下资料. 方法很简单:可以采用stsadm设置系统认为列表项是新的天数.

在MOSS服务器上运行以下命令:

cd C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>
stsadm -o setproperty -propertyname days-to-show-new-icon -pv 3 -url http://ssjin073:9031/

以上命令将days-to-show-new-icon 的值改为3。

可以采用以下命令查看修改结果:

stsadm -o getproperty -propertyname days-to-show-new-icon -url http://ssjin073:9031/

另外,如果想要把那个 新 标识完全取消掉,可以采用SPCamlEditor修改字段的schema :

用SPCAMLEditor打开站点,找到要修改的列表,找到 标题(链接到项目) 栏,删掉<DisplayPattern>中的以下内容:

 <IfNew>
        <HTML><![CDATA[<IMG SRC="/_layouts/2052/images/new.gif" alt="]]></HTML>
        <HTML>新建</HTML>
        <HTML><![CDATA[">]]></HTML>
</IfNew>