View RSS Feed

jamesb

  1. Customising SharePoint Usage Stats - Part Two Code

    by , 18th February 2011 at 09:56 AM
    Code:
    SPFarm farm = this.Farm;
    int intTime;
    foreach (SPService service in farm.Services)
    {
    
    if (service isSPWebService) {
    SPWebService webService = (SPWebService)service; foreach (SPWebApplication webApplication in webService.WebApplications) {
    foreach (SPSite site in webApplication.Sites) {
    OrganizationProfileManager organizationManager = newOrganizationProfileManager(SPServiceContext.GetContext(site));
    OrganizationProfile
    ...
  2. Customising SharePoint Usage Stats - Part Two

    by , 17th February 2011 at 09:24 AM
    Due to some, ahem, technical difficulties with getting the custom usage provider to actually trigger (registering wasn't a problem, and it did intercept the event, just never actually triggered it's own handler so I essentially spent several days in order to write a solution which comprehensively breaks usage logging) I've been re-evaluating my approach to this.

    New method will still involve logging organisation IDs along with users (any direct memberships get logged with the user, ...

    Updated 18th February 2011 at 09:46 AM by jamesb

    Categories
    Uncategorized
  3. Customising SharePoint Usage Stats - Part One

    by , 14th February 2011 at 09:42 AM
    One of the first tasks I've been faced with in my new job is to get some sort of SharePoint usage reporting working. At first I thought this would be nice and easy, after all, SharePoint comes with a nice set of usage reporting which could simply be plugged in to some custom reporting modules - easy, yes?

    No. The problem comes in that they want reporting for groups of users. These groups are currently ill-defined, conceptual groupings, so part of the first challenge is to deal with ...

    Updated 16th February 2011 at 08:58 AM by jamesb

    Categories
    Uncategorized