stuartroberts.net
Stuart Roberts' SharePoint Blog - Part 2
http://www.stuartroberts.net/index.php/page/2
Stu / January 29, 2015. A useful script for running on your dev uat environments to free valuable disk space. The crawl store database can grow quite significantly over time. First of all, the PowerShell script:. Load the SharePoint assembly - change the version to 15.0.0.0 for SharePoint 2013. AssemblyName Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Reset the content index. Get the database server for the default content service. DbName has been shrunk.
stuartroberts.net
SharePoint | Stuart Roberts' SharePoint Blog
http://www.stuartroberts.net/index.php/category/sharepoint
Add ECB to View Columns. Stu / November 13, 2015. Some code to add the ECB menu to the specified columns of a view:. SPView view, List. Get all columns that use the ECB menu. Remove the ECB Menu from all columns that currently use it. Get the field specified in the parameters. Add the attribute to the columns to show the ECB menu. Code should be pretty self explanatory, happy coding! Stu / July 31, 2015. In SharePoint we can use the. Class to wrap areas of code that we want to be monitored. Is a lesser k...
stuartroberts.net
Alternate to CAML Or | Stuart Roberts' SharePoint Blog
http://www.stuartroberts.net/index.php/2015/03/31/alternate-to-caml-or
Alternate to CAML Or. Stu / March 31, 2015. Is a lesser known CAML operator that I’d like to bring to more peoples attention. When writing CAML and you want to restrict the results by a multi value field equaling two or more values, you’d write something like:. This will return any item that has the value Scotland, England, Wales or Ireland in the Country field. As the number of values you want to match against grows, imagine the state of the CAML query! Leave a Reply Cancel reply. Six + 5 =.
stuartroberts.net
SQL | Stuart Roberts' SharePoint Blog
http://www.stuartroberts.net/index.php/category/sql
Stu / January 29, 2015. A useful script for running on your dev uat environments to free valuable disk space. The crawl store database can grow quite significantly over time. First of all, the PowerShell script:. Load the SharePoint assembly - change the version to 15.0.0.0 for SharePoint 2013. AssemblyName Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c. Reset the content index. Get the database server for the default content service. DbName has been shrunk.
stuartroberts.net
PowerShell | Stuart Roberts' SharePoint Blog
http://www.stuartroberts.net/index.php/tag/powershell
Tag Archive for PowerShell. Stu / April 29, 2015. Looking for a PowerShell script to restart important services across a SharePoint farm? Look no further because all you need is here. The script below, initiated by calling the. Function, restarts the following services on all SharePoint servers in the farm:. World Wide Web Publishing Service. Stu / January 29, 2015. First of all, the PowerShell script:. Load the SharePoint assembly - change the version to 15.0.0.0 for SharePoint 2013. Stu / July 22, 2014.
stuartroberts.net
Charting WebPart | Stuart Roberts' SharePoint Blog
http://www.stuartroberts.net/index.php/2011/09/29/charting-web-part
Stu / September 29, 2011. I’m in the process of writing a Charting WebPart for SharePoint 2010, specifically aimed at the standard version, which does not come with such a feature. Of course, it’s still usable within an enterprise environment if you were to find it useful. To download the solution and installation script, follow this link. The zip contains a solution (wsp) file and a PowerShell script for installation. Before running the script, edit it and change the. SharePoint Stu Chart WebPart. The l...
stuartroberts.net
The Company - SharePoint Stu | Stuart Roberts' SharePoint Blog
http://www.stuartroberts.net/index.php/company
Is a Microsoft consultancy that specialises in the management, development and configuration of the SharePoint platform. With our extensive knowledge of SharePoint, going back to the first release (SharePoint Portal Server 2001) through to the current iteration, SharePoint Server 2010, we have both the expertise and track record to be the ideal choice for designing and implementing your SharePoint projects. Due to the nature of our work, we are also extremely well versed in the .NET platform and so a...
stuartroberts.net
Quick Tip #18 - Loopback Check and 401 Error | Stuart Roberts' SharePoint Blog
http://www.stuartroberts.net/index.php/2013/10/30/quick-tip-18
Loopback Check and 401.1 Error. Stu / October 30, 2013. If you’re developing a web service for SharePoint, or trying to access one of the SharePoint web services, through server code and get a 401.1 Unauthorized exception, it’s worth checking if the status of the loopback check, especially if you’re using a host name for the site. HKEY LOCAL MACHINE SYSTEM CurrentControlSet Control Lsa. From there, right click the. Folder and add a new DWORD value called. Set the value to. Set the value to the host name ...
stuartroberts.net
Quick Tip #20 - Run With Elevated Privilges | Stuart Roberts' SharePoint Blog
http://www.stuartroberts.net/index.php/2014/02/25/quick-tip-20
Run With Elevated Privilges. Stu / February 25, 2014. Instead of explicitly wrapping code in a RunWithElevatedPrivileges. Block, it’s better to first check if the user has sufficient privileges and only elevate when they don’t. SPWeb web, SPSecurity . This way the code will only be encapsulated in the elevated block when the user does not have adequate permissions and you’ll help to increase the performance of your code by avoiding executing unnecessary code. Leave a Reply Cancel reply.
SOCIAL ENGAGEMENT