Tuesday, November 3, 2015

SharePoint GetFieldValueAsHtml or GetFormattedValue with DateTime fields Show One Day Earlier

Question: What am I doing incorrectly here?  I simply want to get the date value from an SPFieldDateTime, which I thought was working until I looked into it closer:1) I input 10/01/2008 into the field2) in the code, it consistently reads 09/30/08(tested with mulitple dates, it always...

Thursday, October 29, 2015

Delete All Items SharePoint Powershell Script

[System.Reflection.Assembly]::Load("Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c")[System.Reflection.Assembly]::Load("Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c")[System.Reflection.Assembly]::Load("Microsoft.SharePoint.Publishing,...

Monday, October 19, 2015

Thursday, July 23, 2015

JavaScript Function: HTML Encode for Multiple Lines Of Text Sharepoint

Recently I have found the need to HTML Encode text in JavaScript, especially when using update list items and Single Line Of Text or Multiple Lines Of Text fields. An easy way to do this is use the native functionality of the browser when it processes DIV’s. Any text inside of a DIV automatically...

Thursday, May 28, 2015