in

SharePoint Blogs

The Best Place for SharePoint-related Blogs
Need SharePoint Training? Attend a SharePoint Bootcamp!

Did you have a blog here?

Read this for important information on our recovery!


Browse by Tags

  • SharePoint API: A Client-side Object Model

    One common issue (see question #2) that developers using Microsoft's SharePoint platform are faced with is that the SharePoint object model can only be used when the application is run on a server in the SharePoint farm. The following is code that demonstrates using HubKey's Client-side API for...
    Posted to Mirrored Blogs (Weblog) by Anonymous on 11-26-2008
  • Get a Valid SharePoint File Or Folder Name

    If you're programatically uploading files to a SharePoint document library or creating folders, the file or folder name must not contain certain invalid characters. If it does, you'll get an error, for example: The file or folder name ".." contains invalid characters. Please use a different...
    Posted to Mirrored Blogs (Weblog) by Anonymous on 11-18-2008
  • C#: String.Inject() - Format strings by key tokens

    I generally prefer to use String.Format() instead of doing a bunch of string additions, but constantly find myself splitting the code onto multiple lines with an appended comment to keep track of the indices: string myString = string .Format( "{0} is {1} and {2} is {3}" , o.foo, //0 o.bar,...
    Posted to Mirrored Blogs (Weblog) by Anonymous on 07-22-2008
  • NSOT MOSS Install Scripter released...

    Well, I finally got an alpha release out there of my script generator... You can get a copy out on http://www.codeplex.com/nsot . It is a C# WinForm app (vs2008) that can generate scripts for building a MOSS Farm or a single server install. It includes all the options for installing and configuring an...
    Posted to echef (Weblog) by josef.nielsen on 07-18-2008
  • Programatically Manage Remote Documents with the FrontPage RPC Library

    We've rolled up some of the ideas in previous posts about FrontPage Server Extensions RPC methods into a free (beta) c# code library. To download a CC licensed copy of the source code, select 'FrontPageRPC' as your interest on the contact page on HubKey 's website. The following FrontPage...
    Posted to Mirrored Blogs (Weblog) by Anonymous on 07-03-2008
  • .NET: What exactly does Trim() trim?

    I found myself using the character specific String.Trim(params char[] trimChars) overload to remove some carriage returns and tabs when I realized I was reinventing the wheel again.  Not content with the basic Trim() 's intellisense ( "Removes all occurrences of white space characters from...
    Posted to Mirrored Blogs (Weblog) by Anonymous on 06-24-2008
  • How to set custom attributes / file properties on a file in C# .Net

    In the office here we have developed a document management system, which uses Custom Properties on PDF and DWG files to keep a track of what revision etc they are. In my Revit API development, we required an easy way of settings these from inside of Revit, so I set about creating a plotting external...
    Posted to Mirrored Blogs (Weblog) by Anonymous on 06-10-2008
  • Logging Workflow Errors in the Workflow History List

    By overriding the HandleFault method and using the SPWorkflowActivationProperties.Workflow.CreateHistoryEvent method, it's possible to write unhandled exceptions (without much coding overhead) to the history log to assist in debugging long running workflows. The code at the bottom of this post demonstrates...
    Posted to Mirrored Blogs (Weblog) by Anonymous on 05-21-2008
  • Adding subfolders programmatically when a new folder is created

    I was recently presented with the task of allowing subfolders to be created automatically whenever a new folder is added to a document library. I had my own ideas on how to go about this, and did some searching on the net to confirm, and found there were a couple of different snippets suggesting how...
  • MSCS Watcher released

    For a few years now I have been making due with a simple notification system for MSCS fail-over clusters that implemented either a script, or later, an application that started as the last resource in the cluster to send an email letting me know the cluster group is online.  The biggest problem...
    Posted to echef (Weblog) by josef.nielsen on 04-10-2008
Page 1 of 4 (37 items) 1 2 3 4 Next >

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts