xiaxianglanyu
码龄14年
关注
提问 私信
  • 博客:15,946
    15,946
    总访问量
  • 9
    原创
  • 2,067,013
    排名
  • 1
    粉丝
  • 0
    铁粉

个人简介:11

IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:新加坡
  • 加入CSDN时间: 2010-09-16
博客简介:

xiaxianglanyu的专栏

查看详细资料
个人成就
  • 获得3次点赞
  • 内容获得0次评论
  • 获得1次收藏
创作历程
  • 6篇
    2015年
  • 19篇
    2014年
TA的专栏
  • Sharepoint
    11篇
  • Client
  • Client Object Model
    1篇
  • Sharepoint习题
    13篇
  • Powershell
    4篇
  • C#
    1篇
创作活动更多

超级创作者激励计划

万元现金补贴,高额收益分成,专属VIP内容创作者流量扶持,等你加入!

去参加
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

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 ·
932 阅读 ·
1 点赞 ·
0 评论 ·
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 ·
924 阅读 ·
1 点赞 ·
0 评论 ·
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 ·
624 阅读 ·
1 点赞 ·
0 评论 ·
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 ·
395 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Powershell修改SharePoint的web.config

param( [Parameter(Mandatory=$true, ValueFromPipeline=$true, Position=0)] [Microsoft.SharePoint.PowerShell.SPWebApplicationPipeBind] $WebApplication ) process { $WebApp = $We
原创
发布博客 2015.03.18 ·
1083 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

堆和栈的区别

堆和栈的区别 一、预备知识—程序的内存分配 一个由C/C++编译的程序占用的内存分为以下几个部分 1、栈区(stack)— 由编译器自动分配释放 ,存放函数的参数值,局部变量的值等。其 操作方式类似于数据结构中的栈。 2、堆区(heap) — 一般由程序员分配释放, 若程序员不释放,程序结束时可能由OS回 收 。注意它与数据结构中的堆是两回事,分配方式倒是类似于链表,呵
转载
发布博客 2015.03.05 ·
300 阅读 ·
0 点赞 ·
0 评论 ·
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 ·
553 阅读 ·
0 点赞 ·
0 评论 ·
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 ·
378 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

解决sharepoint2013 js用LoginName插入People字段失败

function SetUserFieldValue(fieldName, userName) {    var _PeoplePicker = $("div[title='" + fieldName + "']");    var _PeoplePickerTopId = _PeoplePicker.attr('id');    var _PeoplePickerEdit
原创
发布博客 2014.10.16 ·
450 阅读 ·
0 点赞 ·
0 评论 ·
1 收藏

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 ·
608 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

CAML——Join多表连接查询

SPList list = web.Lists["Orders"]; SPQuery query = new SPQuery();query.Joins = @" ";query.ProjectedFields = @"
转载
发布博客 2014.09.15 ·
674 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Sharepoint习题——Ribbon

Question 64You are creating an application.You develop a custom control that renders a contextual tab. The controlcontains the following code segment. (Line numbers are included for referenceonly.
转载
发布博客 2014.09.12 ·
568 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Sharepoint习题——Feature升级

Question 63You have a SharePoint farm that has more than 100 custom Features.You upgrade several Features in the farm.You need to ensure that the site collection uses the most up-to-dateversions
转载
发布博客 2014.09.12 ·
503 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Sharepoint习题——SPSite和SPWeb

Question 60You have a SharePoint site collection that contains 100 subsites.You plan to create a Web Part. The Web Part will be deployed to eachsubsite.You need to ensure that the Web Part retri
转载
发布博客 2014.09.12 ·
787 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Sharepoint习题——待定

Question 54You create custom code to import content to SharePoint sites.You create a custom site definition by using Microsoft Visual Studio 2010.You need to ensure that when a new site that use
转载
发布博客 2014.09.12 ·
488 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Sharepoint习题——sandboxed之Webpart

Question 57You update a solution validator.You need to ensure that all SharePoint solutions are validated the next time the solutions are executed.What should you do?A. Modify the Guid attribu
转载
发布博客 2014.09.12 ·
444 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Sharepoint习题——Site Definition

Question 51You use a third-party site definition to create SharePoint sites.You need to add a Web Part to the home page of the site definition.Which file should you modify?A. default.masterB
转载
发布博客 2014.09.12 ·
483 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Sharepoint习题——Delegate Control

Question47You create a user control named MySearch.ascx.You plan to change the native search control in SharePoint to MySearch.ascx. You need to provide the site administrator with the ability to
转载
发布博客 2014.09.12 ·
539 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Sharepoint习题——Webpart

Question28You have a Microsoft Office SharePoint Server 2007 site.You upgrade the site to SharePoint Server 2010.You need to create a Feature that prevents site collection administrators from up
转载
发布博客 2014.09.12 ·
1143 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

Sharepoint习题——master page

Question23 You have a SharePoint site. The current master page of the site is v4.master.You create a custom master page named MyMasterPage.master.You deploy the master page to /_catalogs/masterp
转载
发布博客 2014.09.12 ·
1189 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏
加载更多