Getting total document count for a SharePoint site

Posted by on Nov 7, 2013 in C#, Sharepoint, SharePoint 2010 Foundation, SharePoint 2010 Server |

I had a customer wanting to find out the total number of documents under a site. Quickly came up with a Webservice method that ran a query on all the lists on the site to get a total count. Run this from a ribbon or in your custom web app solution in SharePoint



Read More

CRM2011 – Update statuscode and statecode of any entity using Javascript

Posted by on Oct 31, 2013 in CRM 2011, Customizations |

A common requirement either using a ribbon button or fired from any other event on the CRM form is to change the statuscode and statecode programmatically.

This is used along with the jQuery library, so don’t forget to add it to the form on load.


Read More

C# – Enum Helpers for Parsing Values

Posted by on Oct 18, 2013 in C# |

This is our helper class for enum conversions.


Read More

CRM 2011 – Xrm Service Helper Class

Posted by on Oct 18, 2013 in CRM 2011 |

For those using the CrmSvcUtil.exe tool to generate entity classes and service context. You can use this simple class to wrap your actions and return your desired result:

More information on using the developer extensions at

Read More

SharePoint 2013 – Open a Modal Dialog using Javascript

Posted by on Oct 18, 2013 in JavaScript, SharePoint 2013 |

Here’s the JavaScript function I use to open SharePoint dialogues:


Read More
%d bloggers like this: