摘要: 2010年11月25日 List definitions Type and Base Type One if the interesting topics in SharePoint customi... 阅读全文
posted @ 2010-12-20 11:32 Peter Wang 阅读(375) 评论(0) 推荐(0) 编辑
摘要: SharePoint中ConentType有时候删除不掉,一定是被哪些内容依赖。有些时候很抓狂,自认为删掉了所有的依赖项,但还是不能删除。只好直接去db查找content type的依赖项.找到内容库的ContentTypeUsage,发现ContentTypeId是varbinary内容。使用fn_varbintohexstr函数进行转换,sql语句如下。SELECT SiteId, sys.fn_varbintohexstr(ContentTypeId) AS ID, WebId, ListId, IsFieldId, ClassFROM ContentTypeUsageWHERE (sy 阅读全文
posted @ 2010-12-09 15:37 Peter Wang 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 今天有人提到了这个问题,默认的sharepoint calendar只能自己看到自己的canlendar和event。 如果要实现下面的这种功能,必须定义不同的数据源,定义不同的audience targeting ,然后实现自定义的日历webpart和数据源绑定。来源:http://www.hellomails.com/blog/?p=13826 Issue NewSoft Company uses corporate intranet site based on MOSS 2007. It is required to create vacation calendar for the 阅读全文
posted @ 2010-12-07 16:49 Peter Wang 阅读(452) 评论(0) 推荐(0) 编辑
摘要: Audit log report的功能很强,可以审计数据(content类如list,library,security,workflow,Security And Site Settings Reports Information Management Policy Reports,)的view,dowload,modify,delete ,insert,expiration&dispositon等,还可以自定义报表。要想使用此功能1:开启site collection feature Advanced Web Analytics2:设置Site collection audi 阅读全文
posted @ 2010-12-07 15:31 Peter Wang 阅读(965) 评论(0) 推荐(0) 编辑
摘要: 引自:http://blogs.technet.com/b/weeklygroove/archive/2010/08/10/synchronizing-to-sharepoint-in-sharepoint-workspace-2010.aspx离线功能是来自很多真实项目的需求,很多企业用户可以离线工作,然后连线后再同步数据到sharepoint站点或者更新本地数据。以前的groovy workspace已经升级成sharepoint workspace。sharepoint workspace 2010 不支持很多复杂的list或定制后的list,同时也不支持一些content types, 阅读全文
posted @ 2010-12-06 21:01 Peter Wang 阅读(1199) 评论(0) 推荐(0) 编辑
摘要: 1:SharePoint项目刚好在一个solution folder(VS中的解决方案文件夹)里面,新建list definition(列表定义)时找不到自定义的内容类型 步骤重现,先定义一个content type,用vs2010 deploy上去。在新建list definition,选择模版list definition from content type,进入下一步,结果找不到我刚才的自定义content type。郁闷了几个小时,找遍微软的帮助。最终解决方案是,把project拖到solution根目录下就可以了。由于我的project是在一个 solution folder下面。这 阅读全文
posted @ 2010-11-23 17:32 Peter Wang 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 今天准备建个winform projecct写个小工具获取已有website 的list和content type的定义,方便将这些定义集成到vs的sharepoint solution中。winform项目建好后,引用C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI\Microsoft.SharePoint.dll。 可是无法使用这个库的类,也无法编译通过。思考了下,想起sharepoint 2010目前不支持。net framework 4.0,于是修改project的项目类型为.ne 阅读全文
posted @ 2010-11-17 15:57 Peter Wang 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 目前的地图服务主要微软的virtual earth,google的google earth和yahoo的map service.从开发上来说,微软的virtual earth是最方便的。不过论地图的精准性还是google的强大,毕竟它做的比较早。微软已经将virtual earth改成Bing maps,将地图服务整合到Bing(必应)搜索中。而微软的live service又包含bing service和Windows Azure Platform,live service本身就是架构在windows Azure平台上面 。扯到这里已经扯的很远了。 一般Map service有以下应用场合 阅读全文
posted @ 2010-04-26 11:27 Peter Wang 阅读(711) 评论(0) 推荐(0) 编辑
摘要: 原文:http://www.ganshani.com/2009/07/10/silverlight-2-best-practices-iii/Locally defined StaticResource fails to load When a StaticResource object is both defined and referenced inside the same element, the Preview Window will fail to load with an error “The type StaticResource was not found.” Hence, 阅读全文
posted @ 2009-08-31 13:06 Peter Wang 阅读(450) 评论(0) 推荐(0) 编辑
摘要: 最近看完了DotNet软件测试实战技术着本书,总结了下基本的内容提纲,用到时作为参考。里面的很多概念,方法论,工具和最佳实践都适应其他语言和平台,部分工具受限于.net平台。 .Net 软件测试基础篇 1. 软件质量测试基础介绍 1) 软件质量与软件测试 A. 仅依靠软件测试不能保证软件质量 B. 进行全面质量管理 2) 软件开发与软件测试 具备UML或编程可以做更多层面的测试,如单... 阅读全文
posted @ 2009-03-30 13:45 Peter Wang 阅读(940) 评论(3) 推荐(0) 编辑