摘要: set path=%path%;c:\program files\common files\microsoft shared\web server extensions\14\binspmetal.exe /web:http://abc /namespace:Test.Domain /code:TestEntity.cs 阅读全文
posted @ 2011-07-07 15:46 双眼皮的猪 阅读(121) 评论(0) 推荐(0) 编辑
摘要: Restore-SPSite -Identity http://abc -Path "e:\helloworld.bak" -force 阅读全文
posted @ 2011-07-07 15:45 双眼皮的猪 阅读(113) 评论(0) 推荐(0) 编辑
摘要: Uninstall-SPSolution -Identity helloworld.wsp -WebApplication http://abcRemove-SPSolution -Identityhelloworld.wsp Add-SPSolution "E:\helloworld.wsp"Install-SPSolution –Identity helloworld.wsp -WebApplication http://abc -GACDeployment 阅读全文
posted @ 2011-07-07 15:44 双眼皮的猪 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 在这个document library中的document的dropdown menu下多了个”Save as PDF”.我们在真实项目中经常也会碰到要做一些特殊menu的需求。下面就简单的介绍一下这个dropdown menu是怎么做出来的。A, 新建一个SharePoint 空项目。B, 在Feature地方加一个新的feature。C, 在当前项目中加一个element.在Element加入CustomAction部分。<?xml version="1.0" encoding="utf-8"?><Elements xmlns=&q 阅读全文
posted @ 2011-07-07 15:41 双眼皮的猪 阅读(396) 评论(0) 推荐(0) 编辑
摘要: Requirement: 我们在Workflow中发email的时候经常会连Current Item URL也要发过去。Current Item url在SharePoint Designer 做workflow是拿不到的,我们是可以通过hardcode的方式写,但是这样不好。怎么办?写一个custom activity来实现吧。A, 新建一个SharePoint 2010的empty Project. 因为SharePoint Empty Project会帮我们生成feature和package.普通的library project这些都是要自己写的。B, 在这个solution下新建一个w 阅读全文
posted @ 2011-07-07 15:41 双眼皮的猪 阅读(471) 评论(0) 推荐(0) 编辑
摘要: http://www.hobbykrant.nl/Labs/LabManual.pdf 阅读全文
posted @ 2011-07-07 15:40 双眼皮的猪 阅读(105) 评论(0) 推荐(0) 编辑
摘要: Apress.Microsoft.SharePoint.2010.Building.Solutions.for.SharePoint.2010.Jun.2010.pdfPro SharePoint 2010 Solution Development.pdf 阅读全文
posted @ 2011-07-07 15:39 双眼皮的猪 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 一。Create a webservice onSharepoint 2010server1. Create a ClassLibrary project calls 'MyServiceLibrary'.2. Add two references: Microsoft.Sharepoint and System.Web.Services3. Create a Class calls Service1 /// <summary> /// Summary description for Service1 /// </summary> [WebService 阅读全文
posted @ 2011-07-07 14:30 双眼皮的猪 阅读(922) 评论(0) 推荐(0) 编辑