文章分类 -  SharePointALL

SharePointALL
3-9 SharePoint 开发自定义站点模板
摘要:添加网站定义 添加webpart 将feature 绑定模板中,自动激活 配置 查看feature id <?xml version="1.0" encoding="utf-8"?> <Project Title="DemoSiteDefinition" Revision="2" ListDir=" 阅读全文

posted @ 2020-05-28 18:51 七秒钟得记忆 阅读(118) 评论(0) 推荐(0)

3-8 SharePoint 开发自定义的HttpModule
摘要:新建web应用程序空项目 添加 ASP.NET 模块 using Microsoft.SharePoint; using System; using System.Web; namespace ljzHttpModule { public class ljzModuleDemo : IHttpMod 阅读全文

posted @ 2020-05-28 18:18 七秒钟得记忆 阅读(122) 评论(0) 推荐(0)

3-7 SharePoint 自定义的EidtorPart
摘要:新建 EPForDemo 类 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Web.UI 阅读全文

posted @ 2020-05-28 17:40 七秒钟得记忆 阅读(103) 评论(0) 推荐(0)

3-6 SharePoint 开发自定义Web服务
摘要:新建webservice 后台文件 GetWebTitle using Microsoft.SharePoint; using System; using System.Collections.Generic; using System.Linq; using System.Text; using 阅读全文

posted @ 2020-05-28 14:53 七秒钟得记忆 阅读(93) 评论(0) 推荐(0)

3-5SharePoint 开发自定义WCF服务
摘要:新建wcf服务接口类 引入wcf使用的类库 接口的 IGetWebTitle.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading 阅读全文

posted @ 2020-05-28 14:13 七秒钟得记忆 阅读(102) 评论(0) 推荐(0)

3-4SharePoint 开发自定义的rabbon 菜单
摘要:添加元素文件 <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <CustomAction Id="MyTopMenuLink" Location="M 阅读全文

posted @ 2020-05-28 11:23 七秒钟得记忆 阅读(63) 评论(0) 推荐(0)

3-3 SharePoint 开发特殊类型事件接收器
摘要:添加功能,用于承载激活,组添加人员事件接收器 添加类ERForGroup类,处理组人员添加事件 添加列表,用于自动添加数据 GroupUserAddedList 添加功能的事件接收器 测试,添加人员给组 查询显示 using Microsoft.SharePoint; using System; u 阅读全文

posted @ 2020-05-27 16:17 七秒钟得记忆 阅读(104) 评论(0) 推荐(0)

3-2 SharePoint 开发自定义字段
摘要:1.新建CustomField类 主要进行关联 新建customfieldctrol 和用户控件 主要用与显示 新建xml进行关联 xml以特殊名称开头 查看解决方案assembly进行绑定 运行 using Microsoft.SharePoint; using Microsoft.SharePo 阅读全文

posted @ 2020-05-27 15:36 七秒钟得记忆 阅读(153) 评论(0) 推荐(0)

3-1 SharePoint 深入开发自定义列表
摘要:新建列表 新建列 栏 默认列表配置:及位置 temple page下面 添加form的映射文件夹 复制默认列表form并修改名字 修改form 添加导航 修改xml schame 默认form </ContentTemplate> </SharePoint:UIVersionedContent> < 阅读全文

posted @ 2020-05-27 14:11 七秒钟得记忆 阅读(119) 评论(0) 推荐(0)

2-15 SharePoint CustomList 自定义列表
摘要:更新列表upate,不要重新部署,会导致数据丢失 新建列表 列栏 查阅项,需要进行配置 部署和更新都是通过powershell命令来进行的 阅读全文

posted @ 2020-05-25 19:08 七秒钟得记忆 阅读(120) 评论(0) 推荐(0)

2-14 SharePoint MasterPage 母版页
摘要:1.module 部署模板页,并设置为默认模板页 新建模块 2.重命名,新的模板页设计 复制西雅图模板页内容,并修改背景色 激活功能的时候,自动绑定母版页,功能 <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schema 阅读全文

posted @ 2020-05-25 18:42 七秒钟得记忆 阅读(181) 评论(0) 推荐(0)

2-13 SharePont Timer Job 定时器
摘要:1.新建timerjob类 2.添加feature 功能 3.修改功能名称 4.设置功能范围为网站集 5.feature 功能添加事件接收器 6.计时器服务 所在位置 SharePoint Timer Service 7.管理中心,管理计时器任务 监控 复查作业定义 8. 计时器进程 OWSTIME 阅读全文

posted @ 2020-05-25 17:52 七秒钟得记忆 阅读(99) 评论(0) 推荐(0)

2-12 SharePoint 应用程序也 Application Pages
摘要:新建应用程序页(自动回到 layouts 下application page文件夹下) 新建空元素,用于绑定菜单,指定该应用程序页 <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com 阅读全文

posted @ 2020-05-25 16:57 七秒钟得记忆 阅读(86) 评论(0) 推荐(0)

2-11 sharepoint 利用EventReceiver创建自增列
摘要:using System; using System.Security.Permissions; using Microsoft.SharePoint; using Microsoft.SharePoint.Utilities; using Microsoft.SharePoint.Workflow 阅读全文

posted @ 2020-05-25 16:18 七秒钟得记忆 阅读(109) 评论(0) 推荐(0)

2-10 SharePoint Event Receiver 事件触发器,事件接收器
摘要:office/sharepoint——>事件接收器 列表项事件——>自定义列表——>已添加的项 elements描述文件,默认会给所有列表使用 指定给指定的列表使用 using System; using System.Security.Permissions; using Microsoft.Sh 阅读全文

posted @ 2020-05-25 16:02 七秒钟得记忆 阅读(143) 评论(0) 推荐(0)

2-9SharePoint 用户控件得使用
摘要:添加解决方案——>添加映射文件夹——>TEMPLATE——>CONTROLTEMPLATES 添加用户控件 <div> <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> <asp:Button ID="Button1" r 阅读全文

posted @ 2020-05-25 12:43 七秒钟得记忆 阅读(93) 评论(0) 推荐(0)

2-8SharePoint2016 可视化WebPart
摘要:新建——>web可视化部件(侧重显示)——>类似webform 用户控件 <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Assembly Name="Microsoft.Web.CommandUI, Version= 阅读全文

posted @ 2020-05-23 18:17 七秒钟得记忆 阅读(136) 评论(0) 推荐(0)

2-7SharePoint webpart 的开发和使用
摘要:新建SharePoint空解决方案——>项目添加新项——>Web部件 using System; using System.ComponentModel; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; 阅读全文

posted @ 2020-05-23 17:22 七秒钟得记忆 阅读(111) 评论(0) 推荐(0)

2-6SharePoint REST服务
摘要:1.引入跨域库和jQuery cdn js 需要添加信任 引用SharePoint跨域库(SP.RequestExecutor.js)用来执行REST方法: <script type="text/javascript" src="/_layouts/15/SP.RequestExecutor.js" 阅读全文

posted @ 2020-05-23 16:00 七秒钟得记忆 阅读(94) 评论(0) 推荐(0)

2-5SharePoint JavaScarip 对象模型
摘要:1.引入js类库 <script type="text/javascript" src="/_layouts/16/sp.runtime.js"> </script> <script type="text/javascript" src="/_layouts/16/sp.js"> </script> 阅读全文

posted @ 2020-05-23 11:50 七秒钟得记忆 阅读(94) 评论(0) 推荐(0)