随笔分类 - Sharepoint
1
摘要:以下是调用方法:public void GenBudgetRpt(FinBudgetBalanceRptDTO rptObject) { rptObject.RptName = "Report name : Budget Balance report"; string formatDate = string.Format("{0:dd/MM/yyyy}", DateTime.Now); rptObject.CutoffDate = "Cut off date: " + formatDate; ...
阅读全文
摘要:http://www.microsoft.com/downloads/details.aspx?FamilyID=7BF65B28-06E2-4E87-9BAD-086E32185E68&displaylang=k&displaylang=enWSPBuilderExtensions.msi
阅读全文
摘要:DeleteSolution.bat:"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o retractsolution -name "Quickpark.wsp" -immediate -allcontenturls"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o exe
阅读全文
摘要:assign taskView Code 1 private static void ResetTaskProperties(SPWorkflowActivationProperties workflowProperties, SPWorkflowTaskProperties taskProperties, HybridDictionary specialPermissions, IList<Staff> userList, string status) 2 { 3 SPListItem listItem = workflowProperties.It...
阅读全文
摘要:外部事件触发和处理:1. 创建一个HandleExternalEventActivityView Code 1 public class HandleEventActivity:HandleExternalEventActivity 2 { 3 public HandleEventActivity() 4 : base() 5 { 6 this.EventName = "HandleEvent"; 7 this.InterfaceType = typeof(ITrigger...
阅读全文
摘要:参考http://office.microsoft.com/en-us/sharepoint-designer-help/collect-data-from-a-user-in-a-workflow-HA010209808.aspx注意这里的Review Document是一个Task List, 应该在site里面创建一个task list,可以用默认的Tasks.
阅读全文
摘要:http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/
阅读全文
摘要:Office_SharePoint_Server_2007部署指南.pdf
阅读全文
摘要:When we hv completed a workflow on Sharepoint Designer 2010. A questioncome up, how can we deploy it as a wsp file?Following steps:1. Clicks Save as Template at the top toolbar. the wsp will be saved on site assets.2. Download the wsp on site assets to local.3. Goto Solutions, upload the wsp and act
阅读全文
摘要:参考Custom-built Top Navigation Menu for SharePoint2010这编文章主要注意的是以下控件的代码 public partial class SmoothNavMenu : UserControl { protected void Page_Load(object sender, EventArgs e) { SiteMapNode rootNode = GetSiteMapNodeOfCurrentWeb(); menuContentLiteral.Text = BuildMenuContent(rootNode); } private string
阅读全文
摘要:看看视频,跟着做http://download.csdn.net/source/3424616这里是组件下载的地方http://download.csdn.net/source/3424622
阅读全文
摘要: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
阅读全文
摘要:Restore-SPSite -Identity http://abc -Path "e:\helloworld.bak" -force
阅读全文
摘要: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
阅读全文
摘要:在这个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
阅读全文
摘要: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
阅读全文
摘要:http://www.hobbykrant.nl/Labs/LabManual.pdf
阅读全文
摘要:Apress.Microsoft.SharePoint.2010.Building.Solutions.for.SharePoint.2010.Jun.2010.pdfPro SharePoint 2010 Solution Development.pdf
阅读全文
摘要:一。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
阅读全文
1

浙公网安备 33010602011771号