![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Sharepoint
文章平均质量分 56
xiaxianglanyu
11
展开
-
Linq to Sharepoint——使用Created,CreatedBy,Modified,ModifiedBy字段
using System;using System.Collections.Generic;using System.Linq;using System.Text;using Microsoft.SharePoint.Linq;using Microsoft.SharePoint;public partial class Item: ICustomMapping{ [Cus转载 2014-09-18 11:42:17 · 569 阅读 · 0 评论 -
Powershell脚本获取列表上event receiver信息并输出到一个csv文件中
Param( [parameter(Mandatory=$true, Position=1)] [alias("sitePath")] $siteUrl )# Export all event receivers to a file try{ $spSite=Get-SPSite $siteUrl $allWebs=$spS原创 2015-07-29 10:47:44 · 880 阅读 · 0 评论 -
Powershell脚本设置SharePoint自动更新托管账户密码
# 创建密码修改计划$SPSchedule = new-object Microsoft.SharePoint.SPMonthlySchedule$SPSchedule.BeginDay = 7$SPSchedule.EndDay = 7$SPSchedule.BeginHour = 2$SPSchedule.EndHour = 3$SPSchedule.BeginMinute =原创 2015-07-29 10:13:35 · 892 阅读 · 0 评论 -
Powershell修改SharePoint的web.config
param( [Parameter(Mandatory=$true, ValueFromPipeline=$true, Position=0)] [Microsoft.SharePoint.PowerShell.SPWebApplicationPipeBind] $WebApplication ) process { $WebApp = $We原创 2015-03-18 16:19:22 · 1061 阅读 · 0 评论 -
SharePoint Event Receiver 网站范围和绑定的列表范围
实践证明: Feature scope = SiteIf receiver scope is set to site = provision receiver to all lists of site collection (list template/url is not taken into consideration)!If receiver scope is set to原创 2015-03-27 16:41:21 · 367 阅读 · 0 评论 -
powershell enable items scheduling
$feature=Get-SPFeature $Id -Web $Url$documentLib = $spWeb.Lists[$spDoc] $scheduleFields = @{"PublishingStartDate" = "Scheduling Start Date"; "PublishingExpirationDate" = "Scheduling End Date原创 2014-12-10 22:19:44 · 356 阅读 · 0 评论 -
SharePoint Retention Policies--Realize document archival
1.Go to site you want to store the archival and enable site feature Content Organizer2. Go to site setting to new one Content Organizer Rule2.Go to SharePoint Center Administrati原创 2014-12-24 14:23:53 · 514 阅读 · 0 评论 -
解决sharepoint2013 js用LoginName插入People字段失败
function SetUserFieldValue(fieldName, userName) { var _PeoplePicker = $("div[title='" + fieldName + "']"); var _PeoplePickerTopId = _PeoplePicker.attr('id'); var _PeoplePickerEdit原创 2014-10-16 17:54:38 · 422 阅读 · 0 评论 -
CAML——Join多表连接查询
SPList list = web.Lists["Orders"]; SPQuery query = new SPQuery();query.Joins = @" ";query.ProjectedFields = @"转载 2014-09-15 16:31:21 · 644 阅读 · 0 评论 -
Sharepoint Client Object Model 之 开发基于.NET的应用程序
引用using Microsoft.SharePoint.Client;和using Microsoft.SharePoint.Client.Runtime两个类库原创 2014-08-28 09:35:48 · 735 阅读 · 0 评论 -
Powershell脚本获取SharePoint托管账户的密码
function Bindings(){return [System.Reflection.BindingFlags]::CreateInstance -bor[System.Reflection.BindingFlags]::GetField -bor[System.Reflection.BindingFlags]::Instance -bor[System.Reflection.Bi原创 2015-07-29 10:09:02 · 594 阅读 · 0 评论