jjccx

jjccx's blog
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

文章分类 -  SharePoint

摘要:试了一下,修改2.txt的版本号和时间,不过应该还有问题,等本周末再研究: update alldocs set version=4,uiversion=512 where leafname='2.txt' and IsCurrentVersion=1 update alldocs set TimeCreated='2007-10-17 15:20:44', TimeLastModified... 阅读全文

posted @ 2008-04-15 12:08 jjccx 阅读(337) 评论(0) 推荐(0)

摘要:译自:http://www.sharepointblogs.com/usecases/archive/2007/05/24/displaying-the-document-url-in-a-document-library-column-part-2.aspx 首先在文档库中创建一个列叫Encode Url(Single line of text),用来存放文档URL。 在文档库的版本控制设置中... 阅读全文

posted @ 2008-04-07 18:17 jjccx 阅读(261) 评论(0) 推荐(0)

摘要:在文档库加一个Feature,应用于文件而不应用于文件夹 Feature.xml DocMenus.xml 关键的地方在于RegistrationType是ContentType, 而RegistrationId是0x0101,这个ID表示文档库里文件的内容类型 其它的,如文件夹的内容类型是0x0120 阅读全文

posted @ 2008-03-28 17:08 jjccx 阅读(187) 评论(0) 推荐(0)

摘要:把位置http://sharepointweb2/的文档库通过stsadm backup/restore迁移到http://sharepointweb2/sites/doc后,有部分文件夹无法打开,报在取ContentTypeOrder时出错,查原因后确定是SharePoint的BUG,其在迁移的时候计算表AllDocs中的列CToOffset的值时出错,我们可以写一个SQL语句来修复这个错误。 ... 阅读全文

posted @ 2008-03-10 13:56 jjccx 阅读(120) 评论(0) 推荐(0)