07 2011 档案

摘要:在InfoPath 2010里面可以创建2种不同类型的表单,他们分别是:List和Form Library。一。List,不需要写代码,可以应用于一些简单的表单。可以处理一些比较简单的list类型控件,例如:dropdownlist, listbox, checkboxlist。加上一些规则还可以实现多个list控件直接的联动。由于比较简单,这里不做详细介绍。二。Form Library,需要写代码。当表单中有一些比较复杂的控件,例如:Repeater, 多个view的转换,这个时候Form Library就用的上了。当然,完全可以用webpart来实现表单。 1. 简单控件初始化赋值 当要N 阅读全文
posted @ 2011-07-27 12:26 双眼皮的猪 阅读(560) 评论(0) 推荐(0)
摘要:http://www.microsoft.com/china/msdn/events/webcasts/shared/webcast/consyscourse/CsharpOOD.aspx 阅读全文
posted @ 2011-07-26 17:52 双眼皮的猪 阅读(136) 评论(0) 推荐(0)
摘要:参考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. 阅读全文
posted @ 2011-07-26 10:56 双眼皮的猪 阅读(144) 评论(0) 推荐(0)
摘要:http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/ 阅读全文
posted @ 2011-07-25 14:36 双眼皮的猪 阅读(145) 评论(0) 推荐(0)
摘要:public static class StringFieldNameSortingSupport { #region Private expression tree helpers private static LambdaExpression GenerateSelector<TEntity>(String propertyName, out Type resultType) where TEntity : class { // Create a parameter to pass into the Lambda expression (Entity => Entity 阅读全文
posted @ 2011-07-15 13:39 双眼皮的猪 阅读(1010) 评论(0) 推荐(0)
摘要:Office_SharePoint_Server_2007部署指南.pdf 阅读全文
posted @ 2011-07-14 14:13 双眼皮的猪 阅读(137) 评论(0) 推荐(0)
摘要: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 阅读全文
posted @ 2011-07-14 11:40 双眼皮的猪 阅读(363) 评论(0) 推荐(0)
摘要:参考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 阅读全文
posted @ 2011-07-12 14:37 双眼皮的猪 阅读(387) 评论(0) 推荐(0)
摘要:1.Create a config file calls 'log4net.config', and put it in 'c:\log\'<?xml version="1.0" encoding="utf-8" ?><configuration> <configSections> <!-- START Defining the sections --> <section name="log4net" type="log4net.Confi 阅读全文
posted @ 2011-07-08 10:12 双眼皮的猪 阅读(872) 评论(0) 推荐(0)
摘要:看看视频,跟着做http://download.csdn.net/source/3424616这里是组件下载的地方http://download.csdn.net/source/3424622 阅读全文
posted @ 2011-07-07 15:53 双眼皮的猪 阅读(234) 评论(0) 推荐(1)
摘要: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 双眼皮的猪 阅读(131) 评论(0) 推荐(0)
摘要:Restore-SPSite -Identity http://abc -Path "e:\helloworld.bak" -force 阅读全文
posted @ 2011-07-07 15:45 双眼皮的猪 阅读(123) 评论(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 双眼皮的猪 阅读(160) 评论(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 双眼皮的猪 阅读(410) 评论(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 双眼皮的猪 阅读(482) 评论(0) 推荐(0)
摘要:http://www.hobbykrant.nl/Labs/LabManual.pdf 阅读全文
posted @ 2011-07-07 15:40 双眼皮的猪 阅读(110) 评论(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 双眼皮的猪 阅读(278) 评论(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 双眼皮的猪 阅读(938) 评论(0) 推荐(0)