sharepoint-2013

Provision SharePoint with the use of Apps

This week I listened to a session from the SharePoint Conference in Las Vegas about ‘Site provisioning techniques with SharePoint apps’. This session was all about how to use the app model to provision sites, libraries and everything else you need in SharePoint. The had a lot of examples how to do this and what is changed in both SharePoint Online and SharePoint 2013 SP1. The overall point the made is that with the use of an SharePoint app you can make a template that will work both on premise and online without the use of web templates and sand boxed solutions A other benefit of this is that you can use one of the default templates that Microsoft supplies and you only have to change what you want to be different instead of creating complete new templates.

Upgrade Server 2012 to Server 2012 R2 with SharePoint 2013 SP1

Arjan Cornelissen
With the release of SharePoint 2013 SP1, Server 2012 R2 is now supported. With this release I wanted to try to upgrade my dev environment to Server 2012 R2. My dev machine has all roles, so AD, SQL and SharePoint. The steps below I used to upgrade the machine. Install SharePoint SP1 as you usually install an update Make sure you have enough free space, I needed 12GB. Mount the ISO of Server 2012 R2 and run the following command ‘adprep /domainprep’, the adprep command can be found on the disc in the folder ‘\sources\adprep’

SPC14 Sessions

All the sessions of the SharePoint Conference 2014 are now available on Channel9. Like many other people I like to watch some of the sessions I missed during the conference. I also do not like to watch this from my laptop so I wanted to download the sessions I would like to see. After a few hours of trying myself I found on Yammer that there were many others trying the same thing and 1 had created and shared a really nice PowerShell script to download everything.

Undeclare In-Place records

Arjan Cornelissen
Last week I had a question to remove a document library with items that where records. Then you have an option to remove the record status of every document by hand, this is ok for a few items but in this case there were a few thousand items and only some of them had the status Record. With some searching on the internet I found a code snippet to remove the record status of a document.

Unexpected logout with SharePoint 2013 and ADFS

Arjan Cornelissen
The last couple of weeks I was creating and configuring 3 SharePoint 2013 farm (Test, acceptance and Production) on Windows Azure. We did the provisioning, installation and configuration with PowerShell. This way we had the basics within 1 week running. Because we are on Windows Azure and the company did not want their AD extended to the Windows Azure environment we configured SharePoint with ADFS 3.0. This way we could give the end user a single sign on experience that they are used to and make it directly possible to let them connect from outside the company network.

The Security Token Service is not available

Arjan Cornelissen
I’m currently creating a SharePoint environment for a customer on Windows Azure with ADFS 3.0. Within this environment we have multiple front-end and back-end machines. Because we use ADFS the people picker will accept everything you enter, we installed and custom claim provider from codeplex (ldapcp.codeplex.com) to give the users a better experience We decided to create 2 backend systems only for search and enabled only the search components on these machines.

Audit settings

Arjan Cornelissen
This week I was trying to make some PowerShell scripts to set the auditing in SharePoint. This can be done very easy with the GUI, but I had to set this on a few thousand sites. With the GUI you can go to the site collection and then settings. Under ‘site collection administration’ you find ‘Site collection audit settings’ Just select the options you want and you’re all set to use auditing.

SPC14

Arjan Cornelissen
Just got the confirmation that I may go to the SharePoint Conference in Las Vegas this year.? I am very excited to go this year. Now I have to find out what sessions to go to, there are a lot. For everyone that is going James Callaghan made a nice PowerShell script to download an overview of all Sessions (http://www.jcallaghan.com/2014/01/all-spc14-sessions-available-in-a-single-spreadsheet/)

Content type with Managed Metadata field

Arjan Cornelissen
This week I was asked to create some content types with Managed Metadata field in it. This of course is not hard to do if you do it from the UI, but we wanted to have a nice solution to deploy. After searching the internet I found several posts how to do this, but none had a complete solution so here it is. First of all you need to have a field that looks like this: