随笔分类 -  SharePoint

上一页 1 2 3 4 下一页
【转】Powershell 启动Ad帐户Lynch功能
该文被密码保护。
posted @ 2012-07-04 21:05 gzh4455
Asp.Net 发送及取消Outlook 会议要求
该文被密码保护。
posted @ 2012-06-25 12:00 gzh4455 阅读(2) 评论(0) 推荐(0)
SPQuery 分页
该文被密码保护。
posted @ 2012-06-17 20:19 gzh4455 阅读(3) 评论(0) 推荐(0)
ListQuery 引用随笔
摘要:<%@ Assembly Name="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %><%@ Assembly Name="CodeArt.SharePoint.CamlQuery, Version=1.0.0.0, Culture=neutral, PublicKeyToken=43536cfde91ea799" %> 阅读全文
posted @ 2012-06-16 12:09 gzh4455 阅读(258) 评论(0) 推荐(0)
Infopath 2010 日期相减计算
摘要:有一个项目要计算出差的天数需要其Field的text change 时建一个规则, 出差日期和返回日期都需要在其Text change的时候建立一个规则其设置出差天数的域值:条件:返回日期及出差日期都不为空的时候(特别注意,需选中如果当满足其规则条件,请勿运行其他规则!)设置域值:number(translate(substring(返回日期, 0, 11), "-", "")) - number(translate(substring(出差日期, 0, 11), "-", "")) + 1如果单纯的时候还是不行, 阅读全文
posted @ 2012-05-21 15:58 gzh4455 阅读(1233) 评论(2) 推荐(0)
SharePoint 2010 表单之重复表
摘要:一般来讲SharePoint的表单有三种方式1. Infopath表单的对应特定的列表(直接在列表中可以自定义列表,只适用特定列表)2. 复杂的表单,如需要重复表,且重复表的数据需用来统计3. Infopath: 新建一个Infopath,然后通过发布,激活,适应多个列表。下面是一个重复表的开发实例,如下图所示:下面是开发这种表单的常用代码:前台代码:View Code <div style="padding-top: 10px;"> <asp:GridView ID="GridView1" AutoGenerateColumns=&q 阅读全文
posted @ 2012-05-17 16:45 gzh4455 阅读(881) 评论(0) 推荐(0)
SharePoint 2010 改变网站注销路径
摘要:环境:SharePoint 2010网站Windows Authentication做法:1) Create a copy of SignOut.aspx in the Layouts folder. Rename it as CustomSignOut.aspx2) Open the custom page in notepad\designer. In the function _spBodyOnLoad() replace windows.close() with windows.location("YourHomePageRelativeUrl");3) Make 阅读全文
posted @ 2012-05-08 21:26 gzh4455 阅读(376) 评论(0) 推荐(0)
ECMAScript Query实例
摘要:下面是Query的一个实例 ,用通过查询Title中包含要查询的值,下面是页面的代码View Code <%@ Assembly Name="ClientOMUIActions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4efe8d1641f2f2df" %><%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" 阅读全文
posted @ 2012-05-08 18:44 gzh4455 阅读(453) 评论(0) 推荐(0)
Infopath Web Service with Parameters
摘要:Infopath Web Service 带参数查询WebService.cs其中一个方法为GetCalculate,下面是其具体的代码[WebMethod] public CalculateInfo GetCalulate(DateTime dtBegin,string sBegin,DateTime dtEnd,string sEnd) { CalculateInfo oCalculate = new CalculateInfo(); if (dtBegin == null || dtEnd == null || string.IsNullOrEmp... 阅读全文
posted @ 2012-05-07 13:49 gzh4455 阅读(300) 评论(0) 推荐(0)
SharePoint PeopleEditor 控件的使用
摘要:最近一段时间,项目用到了PoopleEditor控件,下面的资料都是从网上收集过来并做一些整理简单的用法<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix=&q 阅读全文
posted @ 2012-05-02 17:39 gzh4455 阅读(3124) 评论(0) 推荐(0)
ECMAScript 对象模型
摘要:今天下午研究了一下ECMAScript,暂时发现有一个好处是,如果生产生境的过程中,没有开发环境,可以用到这个技术,因为这个有Javascript Object Client Model,暂时把一些暂时用过的实例及方法做一下记录!下面的网址是Javascript Classi Library的地址,你可以从以下网址了解其整个架构http://msdn.microsoft.com/en-us/library/ee538253.aspx暂时用到是SP.js, 下面的引用js代码有可能会在开发中用到,一般情况下. Application Page 都不会用到。<sharepoint:Scrip 阅读全文
posted @ 2012-04-28 16:35 gzh4455 阅读(384) 评论(0) 推荐(0)
SharePoint 2007 列表设置管理页面开发
该文被密码保护。
posted @ 2012-04-17 00:47 gzh4455 阅读(4) 评论(0) 推荐(0)
【转】Navigation 自定义开发
摘要:这篇随笔用自下义开发FolderNavigation 来了解自定义控件开发的流程,下面是讲建义的示例代码首先新建一个空的SharePoint项目,添加两个类,两个类的代码不是主要的,主要是讲其开发部署流程,一个是WebFolderNavigation.cs, 一个是SPUtil.csWebFolderNavigation.csView Code using System;using System.Collections.Generic;using System.Text;using System.Web;using System.Web.UI.WebControls;using System. 阅读全文
posted @ 2012-04-15 17:59 gzh4455 阅读(218) 评论(0) 推荐(0)
WorkFlow 审批与拒绝的实现(页面)
该文被密码保护。
posted @ 2012-04-15 15:11 gzh4455 阅读(3) 评论(0) 推荐(0)
SPWorkflowTaskCollection
该文被密码保护。
posted @ 2012-04-15 14:56 gzh4455 阅读(2) 评论(0) 推荐(0)
ICompare的继承,比较两个SPFolder
摘要:以前也实现了ICompare接口的继承,来实现两个Object的比较,但久而久之忘记了,现在看到,想再次记录下来,以便以后复查!下面的代码是摘自建义亮剑一书,用来实现比较SharePoint中SPFolder的比较,其中以下代码实现了两种比较,一种是用Name,一种是用其另一属性值(排序号)比较,代码如下。说得更明白一点,就是一个用方法来Sort,一个是用继承了ICompare类来排序。 /// <summary> /// 获取按名称排序后的子文件夹列表 /// </summary> /// <param name="folders">& 阅读全文
posted @ 2012-04-08 23:22 gzh4455 阅读(561) 评论(0) 推荐(0)
【转】序列化与反序列化
摘要:序列化与反序列化,当对象用来传输using System;using System.Collections.Generic;using System.Text;using System.Xml;using System.IO;namespace CodeArt.SharePoint{ /// <summary> /// 对象序列化 /// </summary> public static class SerializeUtil { /// <summary> /// 将对象序列化成xml /// </summary> /... 阅读全文
posted @ 2012-04-08 23:00 gzh4455 阅读(220) 评论(0) 推荐(0)
SharePoint 视频播放WebPart
摘要:代码是摘自建义的亮剑一书里面的代码 ,代码如下using System;using System.Collections.Generic;using System.Text;using System.Web.UI.WebControls.WebParts;namespace CodeArt.SharePoint.WebParts{ /// <summary> /// 可以制定一个视频文件的路径进行播放 /// </summary> public class VideoWebPart : BaseSPWebPart { private string _... 阅读全文
posted @ 2012-04-08 21:52 gzh4455 阅读(341) 评论(0) 推荐(0)
SPWorkFlowInstance 与History List 有及Task List
该文被密码保护。
posted @ 2012-04-06 17:44 gzh4455 阅读(1) 评论(0) 推荐(0)
SharePoint 为Infopath表单生成一个不重复的表单号
该文被密码保护。
posted @ 2012-04-05 23:47 gzh4455 阅读(4) 评论(0) 推荐(0)

上一页 1 2 3 4 下一页