Blog

Workaround: Sorting App Part Properties in SharePoint 2013


24 October, 2014

The app part has a number of limitations compared to web parts, such as inability to package a default chrome type and, for some reason, sorting of app part properties. This *might* seem like a small deal but when you have a logical flow for editors then this becomes an issue. Solution 1: Using regions Regions can be used to bring order to the app part properties. For me, this is only half the solution but it still works. The region format results in a semi-ordered property list. Solution 2:...

Read More...

Managing “Default Growth Rate” on SQL Databases


23 October, 2014

SQL databases are normally set up using default settings which sets the growth rate of the database, i.e. the size the database grows each time when it runs out of space. During this time, the database is executing in a single-thread mode and this behavior is bad for performance, especially for SharePoint installations where many write operations occurs when many users upload documents. Identify default databases A very clever set of scripts are available from the RedGate blog “simple talk”....

Read More...

Error: “Remote SharePoint site connections are not supported”


19 October, 2014

When working with SharePoint projects in Visual Studio and setting the project Site URL property, you might get the following error. Error: Remote SharePoint site connections are not supported If you have first checked the URL and if you are using, for example, fully qualified domain names instead of simply using the local machine name then this occurs if the site is not in your HOSTS file. Visual Studio will only deploy to SharePoint sites that are mapped to localhost. To fix this, simply...

Read More...

Force publishing of Content Type changes in a Content Type Hub


01 October, 2014

I personally like the SharePoint feature of content type hubs as the authors can update things like choice fields and document template associations and then push these changes farm wide. However, the normal (and manual) steps of pushing through a change is: - Edit the content type - Mark the content type for republishing - Wait for the publishing job to fire or start it manually in Central Admin - Wait for the subscription job to fire or start it manually in Central Admin I wanted an instant...

Read More...

Sandbox service failure on SharePoint 2013 with Domain Controller


04 April, 2014

The development setup on SharePoint 2013 is tricky as it normally requires several servers. I have a three-server virtual cluster on CloudShare but sometimes I need an offline solution. In these scenarios, I run a small Mac Mini in bootcamp mode, using the full 16gb RAM for the machine. I then run the domain controller and all SharePoint services plus SQL on the same machine. This is fast but not ideal and has its issues. Error When starting a sandboxed solution, you receive the following...

Read More...