随笔分类 - SharePoint
摘要:@echo off @echo 正在关掉所有的IE进程(需要设置默认浏览器是IE)taskkill /im iexplore.exe /f /t @echo 正在访问 http://localhoststart "C:\Program Files\Internet Explorer\iexplore
阅读全文
摘要:1. Delete a site collection · Run command : Remove-SPSite –Identity http://ent132.sharepoint.hp.com/teams/monitor/ –GradualDelete –Confirm:$False · In
阅读全文
摘要:namespace Avinash { class Program { static void Main(string[] args) { SetListItemPermission(); } static void SetListItemPermission () { //Get SPWeb ob
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using Microsoft.SharePoint; 6 7 namespace CR.SharePoin
阅读全文
摘要:提升 SharePoint 代码执行权限 关于如何提升 SharePoint 代码执行权限及相关知识介绍的文章我们园子里有很多, 这里给出其中两篇文章的链接,就不再啰嗦了。 http://www.cnblogs.com/llbofchina/archive/2008/05/24/1206393.ht
阅读全文
摘要:More on SharePoint 2010 Application Pools Blimey! My recent post about worker processes generated a large number of follow up questions. Instead of an
阅读全文
摘要:Symptom Consider the following scenario: We In the xslt: <xsl:param name="CustomItem">1</xsl:param> <xsl:variable name="Rows" select="/dsQueryResponse
阅读全文
摘要:1. 下载 sharepoint server 2010 sp2 x642. 下载 前置环境插件 Microsoft FilterPack 2.0 (CD "C:\Program Files (x86)\MSECache\SharePoint2010\PrerequisiteInstaller...
阅读全文
摘要:http://server:5966/_vti_adm/Admin.asmx - Administrative methods such as creating and deleting siteshttp://server/_vti_bin/Alerts.asmx - Methods for working with alertshttp://server/_vti_bin/DspSts.asmx - Methods for retrieving schemas and datahttp://server/_vti_bin/DWS.asmx - Methods for working wit
阅读全文
摘要:1. 在Master Page Head 增加下面的Style<style type="text/css">#ctl00_PageStateActionButton{visibility:hidden;}</style>2. 增加SPSecurityTrimmedControl<SharePoint:SPRibbonPeripheralContentrunat="server"Location="TabRowLeft"CssClass="ms-siteactionscontainer s4-no
阅读全文
摘要:在使用ECMAscript对象模型开发应用时,我们不自觉的想要知道某个SP object都提供了什么方法?这里我们就来看看怎么做。1、在我们前面建立的Sharepoint项目中,新增一个Visual WebPart(命名为WPLkECMAscript)和一个Javascript文件(命名为ECMAOpListItems.js) ECMAOpListItems.js的代码如下,这段代码我们在前面的介绍中用到,主要用于提取WebSite的属性//RetriveWebsitePropertiesvarsiteUrl='/';functionretriveWebSiteProperti
阅读全文
摘要:在进一步实践使用ECMAScript对象模型来编写代码之前,我们当然希望我们的编码过程尽量轻松一些,所以在这里让我们看看如何实现在编写代码时,实现智能提示功能。 1、首先在VS2010中创建一个javascript文件。 2、在此文件的开始处添加如下代码:/// <reference name="MicrosoftAjax.js"/> 我们必需把 对MicrosoftAjax.js的引用放到第一行,Javascript对外部引用文件的顺序是有一定的讲究的,某些SP对象会依赖于MicrosoftAjax.js,如果我们把此文件放在随意的地方就会导致某些引用SP对象
阅读全文
摘要:我们知道Microsoft SharePoint 2010 提供了三个新的客户端 API,这些 API 允许您通过在浏览器中执行的脚本、在 .NET 托管应用程序中执行的代码(Microsoft .NET Framework 3.5 或更高版本)或在 Microsoft Silverlight 2.0 应用程序中执行的代码与 SharePoint 网站进行交互。 这里我们来看看如何在Sharepoint网站中引入ECMAScript(JavaScript、JScript) 客户端对象模型。 首先是几点说明: 1、ECMAScript对象模型只能用于Sharepoint站点。也就是说你不能通过传
阅读全文
摘要:通过Webservice add/update/delete SharePoint的列表数据,当然需要使用Lists.asmx 服务了,此服务为增删改只提供了一个方法UpdateListItems,此方法的声明非常简单:public XmlNode UpdateListItems ( string listName, XmlNode updates)对于此方法的说明可以参考MSDN:http://msdn.microsoft.com/en-us/library/lists.lists.updatelistitems(v=office.14).aspx 方法简单不代表逻辑简单,增删改...
阅读全文
摘要:"%systemdrive%\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o backup -url http://XXXXXXX:1231/sites/abc -filename \\10.163.192.1\abc\abcBackUp0705.bak -overwritepause"%systemdrive%\Program Files\Common Files\Microsoft Shared\web server extensio
阅读全文
摘要:if some need to modifyMax file sizeit's possible by setting the MaxImageSize property in the Configuration file(C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\4.5.6.0__1f131a624888eeed\RadControls\Editor\ConfigFile.xmlC:\Program Files\Common
阅读全文
摘要:Inside SharePoint Creating an External Storage Solution for SharePointPav ChernyCode download available at: ChernySharePoint2009_06.exe (2,006 KB) Contents Internal Binary Storage External Binary Storage Building an Unmanaged EBS Provider Building a Managed EBS Provider Registering an EBS Provider .
阅读全文
摘要:SharePoint 2010 中的 Web 开发入门了解创建在 DataGrid 控件内显示 SharePoint 2010 列表的 Microsoft Silverlight 应用程序,以及如何将 Silverlight 应用程序部署到 SharePoint 网站。适用范围:Microsoft SharePoint Foundation 2010 | Microsoft SharePoint Server 2010 | Microsoft Visual Studio 2010 | Microsoft Silverlight 3发布时间:2010 年 8 月供稿人:Frank Rice(该链
阅读全文
摘要:练习了一下在SharePoint站点中使用SilverLight,方法当然是创建一个WebPart,然后在其中承载System.Web.UI.SilverlightControls下的Silverlight控件。不过这里面也有不少SilverLight注意事项。AD:51CTO云计算架构师峰会 抢票进行中!在SharePoint中使用SilverLight,说起来虽然简单,但是还是折腾了我一些时间:在SharePoint中使用SilverLight注意事项首先,需要将Silverlight程序中产生的xap文件拷贝到您的sp站点可以访问到的地方。然后创建一个webpart,在其中创建Silve
阅读全文
摘要:一.安装必要的软件以及插件1.Microsoft .NET Framework 3.0下载地址[url]http://www.microsoft.com/downloads/details.aspx?FamilyID=10cc340b-f857-4a14-83f5-25634c3bf043&DisplayLang=zh-cn[/url]2.由于利用VS.net2005开发工作流,必须在Windows Workflow foundation的基础上进行开发,所有在配置sharepoint工作流开发环境前,必须安装该插件。下载地址[url]http://www.microsoft.com/
阅读全文