在SharePoint 2010中可以使用Management Shell 为新建的Site Collection 创建自己的DB. 在 Shell中执行如下命令: 1. $w = get-spwebapplication  http://yoursite     (yoursite为你所要新建的SiteCollection 所在WebApplication中的SiteCollection) 2. New-SPContentDatabase "Your DB Name" -Databa…
解决办法如下: 1. 修改项目的.net framework 为3.5 2. Application Pool 选用 Sharepoint App pool 3. 修改 web.config如下: <?xml version="1.0"?> <configuration> <configSections> <sectionGroup name="system.web.extensions" type="System…
转:http://kyleschaeffer.com/sharepoint/sharepoint-2010-pop-up-dialogs/ SharePoint 2010 makes it incredibly easy to add dialog content to your website. Built-in functionality allows you to retrieve content from anywhere within your site and display it…
转:http://msdn.microsoft.com/en-us/library/gg252010(v=office.14).aspx Summary:  Learn how to create an event receiver for Microsoft SharePoint 2010 by using Microsoft Visual Studio 2010. Applies to:  Microsoft SharePoint Foundation 2010 | Microsoft Sh…
The Enterprise Search Center requires that the Publishing feature be enabled. To enable the Publishing feature, follow these steps: Click Site Actions, and then click Site Settings. Under Site Collection Administration, click the Site collection feat…
应用场景: 有时候我们的站点需要在每个页面实现滚动文字的通知,怎么在不修改Master Page的情况下实现这个功能?我们可以使用Javascript 和 Custom Action 来实现. 创建一个Custom Action.主要使用到 Location = 'ScriptLink' 属性, 该属性可以动态的加载JavaScript 文件链接和代码块到模板页.代码如下: <Elements xmlns="http://schemas.microsoft.com/sharepoint/&…
When you upgrade to Microsoft SharePoint Server 2010, some of the new SharePoint Enterprise Search Web Parts are missing from the Web Part gallery for upgraded site collections. The following are the missing Web Parts: Refinement Panel Related Querie…
在之前的文章中,通过SharePoint Central Administration 创建了Web Application.在这篇文章中将继续SharePoint 2013之旅——还是以Step By Step的形式演示如何在SharePoint 2013中创建Site Collection(网站集),首先梳理下知识点. Site Collection Site Collection是Sites(网站)的集合. Site Collection最大可以包含250000个Sites和Sub Sit…
In this post I will introduce a way how to run a script for backing up SharePoint data which could be scheduled to run automatically. Step 1:Create a PowerShell Script for Backing up a site collection param([string] $site,[string] $dir,[string] $type…
通过PowerShell创建SharePoint Site Collection,代码如下: Add-PSSnapin microsoft.sharepoint.powershell function CreateTeamSite() { $webApps = Get-SPWebApplication $webAppsUrl = $webApps.Url ) { Write-Host "You have only one web application:" Write-Host $we…