Category Archives: SharePoint

Add Field with XML

SharePoint Short #21 A quick short today 🙂 Instead of adding new fields to a content type or list creating the object (SPFieldText, etc.) and adding it, simply pass the XML definition for whatever field you are looking to create … Continue reading

Posted in SharePoint, SharePoint Shorts | Leave a comment

ULS Viewer

A quick post today, just to say that there’s been an update to the ULS Viewer from Microsoft. A big improvement, main features are now: Monitor all server logs in real time across the farm Personalise the output and and … Continue reading

Posted in SharePoint | Leave a comment

Configuring SQL Server Whitepaper

I recently came across the following whitepaper for configuring SQL Server to get the best performance from it when used in a SharePoint environment. Download it from here Or view it from here Lots of good information in it and … Continue reading

Posted in SharePoint, SQL | Tagged , , | Leave a comment

Create Site Collection with Content Database

A PowerShell related post today. If you need to create a new site collection and ensure it uses a specific content database, this little script will get that done for you. No messing about in Central Administration disabling content databases … Continue reading

Posted in SharePoint | Tagged , | Leave a comment

Slow Query Duration

When working with custom code that manipulates lists that contain a large number of fields, the ULS logs will likely be littered with the following entries: A large block of literal text was sent to sql. This can result in … Continue reading

Posted in SharePoint | Tagged , | Leave a comment