内容中包含 base64string 图片造成字符过多,拒绝显示…
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…
http://stackoverflow.com/questions/5376380/sharepoint-2010-change-sitecollection-urlstsadm -o backup -url "http://domain/sandpit/site"-filename "c:\site.dat"#delete old site collection#run gradual site delete job stsadm -o restore -url…
应用场景: 有时候我们的站点需要在每个页面实现滚动文字的通知,怎么在不修改Master Page的情况下实现这个功能?我们可以使用Javascript 和 Custom Action 来实现. 创建一个Custom Action.主要使用到 Location = 'ScriptLink' 属性, 该属性可以动态的加载JavaScript 文件链接和代码块到模板页.代码如下: <Elements xmlns="http://schemas.microsoft.com/sharepoint/&…
先需要将自定义的站点模版从网站集转移到Farm中. 找一个自己已经完成配置及设计的网站,在网站设置里面选择另存为模版.要注意的是不是所有的站点类型都有另存为模版的功能. 存完之后可在解决方案库的界面里面看到刚刚保存的模版,点击下载到本地 下载到本地之后用VisualStudio创建项目中的Import Solution Package项目模版创建项目并打开此文件 打开项目中的Feature3,然后将Scope选择为Farm,其他不需要改. 然后发布即可 执行Powershell语句,由于我的模版…
在之前的文章中,通过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…
由于权限的设置,当文件被签出时导致别人不可见了,这对校验文件个数的人来说着实是件烦恼的事.幸好利用PowerShell,可以获取Site Collection下被签出的文件. Resolution Add-PSSnapin Microsoft.SharePoint.PowerShell function GetAllCheckOutFiles([string]$siteUrl){ $spSite=Get-SPSite $siteUrl $spSite.AllWebs|%{ $_.Lists|wh…
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…
1. 详细操作可参考此文章 的 Deployment and configuration for host-named site collections区域,简单来说,需要以下三行PowerShell脚本: //创建一个不包含host header的web applicationNew-SPWebApplication -Name 'Contoso Sites' -port 80 -ApplicationPool ContosoAppPool -ApplicationPoolAccount (G…
在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…
I had created a site collection. But there is a problem of web-frontend server (I did not know when I created the site), so the page is always in processing. After waiting 40 mins, I closed the page. When the problem of web-frontend server solved, I…
最近使用SharePoint中,遇到一个需要重命名网站集的需求,主要是网站用数据库备份/还原的方式,想要改网站集的地址,然后搜了一下PowerShell: $site = Get-SPSite -Identity "http://server/sites/Demo" $site.rename("http://server/sites/Demo2") 特别,如果回收站里有东西,会报一个Error,清理一下回收站即可: 清理回收站的时候,记得清理三个地方,网站回收站.网…
$sitecoll = Get-SPSite "http://wheresmydoc.findit.com" $sitecoll.RecycleBin | ?{$_.Title -match "MyDocIsHere.xls"} $sitecoll.RecycleBin.Restore("place doc ID here")…
http://spjsblog.com/2013/12/08/spjs-upload-for-sharepoint-custom-upload-page-for-uploading-documents-to-various-document-libraries-in-a-site-collection/?utm_source=tuicool http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.utilities.sputili…
Add-PSSnapin microsoft.sharepoint.powershell $WebAppName = "http://wtcsps99:82/" $wa = get-SPWebApplication $WebAppName $wa.UseClaimsAuthentication = $true $wa.Update() #admin account: yourDomain\yourUser $account = "westrac\sp.admin"…
原文地址:https://www.nothingbutsharepoint.com/sites/devwiki/articles/Pages/SharePoint-2013-Upgrade.aspx You can only upgrade to SharePoint 2013 from SharePoint 2010 so those of you looking to upgrade directly from 2007 will have to take the 2010 route fi…
首先,去SharePoint 2010的数据库服务器上,找到站点的数据库,备份.还原到SharePoint 2013环境中: 如果不知道数据库服务器是哪台,可以通过服务器场上的服务器查看: 如果不知道是哪个数据库的话,可以到管理内容数据库查看: 备份SharePoint 2010站点的内容数据库,还原到SharePoint 2013站点上(数据库备份还原,此步略): 然后新建一个web应用程序,删掉默认的内容数据库,附加这个还原过来的内容数据库(比较简单,此步略): 但是附加的时候,发现报错,如…
[转]http://nikcharlebois.com/upgrade-from-sharepoint-2010-to-sharepoint-2016/ In this blog, I will go through the process of upgrading your existing SharePoint 2010 farm to SharePoint 2016. Just like it has been the case with the last 3 product releas…
Experience comes when you give a try or do something, I worked in to many SharePoint development project but my last project was troubled me during the deployment on staging server. I really interested to share the learning with all of you. Recently…
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…
Integration 伯乐在线 极客头条 Hacker News Stack Overflow RFC Search Security Python Hacker - Freebuf PrimalSecurity Python Tutorials by PrimalSecurity Exploit Tutorials by PrimalSecurity E安全 爱尖刀 GPG GPG - tutorial by RuanYifeng InfoSec Resources DOS Attacks…
转载原地址:  http://www.cnblogs.com/wsdj-ITtech/archive/2012/09/01/2470274.html Sharepoint本身就是一个丰富的大容器,里面存储的所有信息我们可以称其为“内容(Content)”,为了便于管理这些Conent,按照人类的正常逻辑就必然想到的是对此进行“分类”.分类所涉及到的层面又必然包括: 1.分类的标准或特征描述{即:类型属性(或:与该类型项目相关联的属性)}. 2.对应类的关联动作(即:工作流,行为以及其他设置)  …
有时候我们可能找不到Navigation标签, 仅仅在Look and Feel下面看到"Quick launch" 如何才能找到我们想要的"Navigation"呢,我们需要激活SharePoint Server Publishing Infrastructure". 步骤: 打开你的站点,并且在"Site Actions" 下进去"Site Settings" 在“Site Collection Administ…
批量导入站点权限   cls $Web = Get-SPWeb "http://16.178.115.14:91/" Get-Content c:\export\account.txt | ForEach-Object { Write-Host $_ $account = $web.EnsureUser($_.Split(',')[0]) $role = $web.RoleDefinitions[$_.Split(',')[1]] $assignment = New-Object Mi…
OverView In this post,I want to show u how to add a look up column in my list or library that looks up data which comes from a list or library of another site. I have to say,it is a awesome Function and easy for sharepoint end users.So,Let me guide y…
Problem When I was backing up SharePoint Site Collection Automatically with PowerShell and Windows Task Schedule.Unfortunately,the backup process was abnormally terminated.But What's even worse is I came across an confusing issus When I Browsed to Si…
在某些情况下,我们需要去引用其他List中的数据,比如在网站集(Site Collection)上有个List叫Country,在其子网站(WebSite)有个List叫Employee,如果要在子Site上的Employee去引用Country中的数据,一般我们会在Site Collection上创建一个网站栏(Site Column).这是一种解决方案.还有一种解决方案,我们也可以在项目中创建一个Lookup 类型的 Site Column,其Scope为Site,顺着思路,我理所应当的创建…
- all features were running on sitecollection level and at site level But here is the solution, i do not why it worked but it did work. Although you can activate and deactivate Office SharePoint Server Enterprise Site Collection features , Office Sha…
1 Run command “New-SPConfigurationDatabase" Feature Description: error message popup after run function “New-SPConfigurationDatabase". 1.1 Category Code error 1.2 Exception and Phenomena pipeline issue:The pipeline has been stopped New-SPConfigu…