Monthly Archives: April 2011

Sorting SharePoint 2010 SPFolders and SPFiles

Sometimes you want to iterate through all SPFolders in a list or library, or all items in a list or folder. You may have noticed that the folders or items seem to come back in no particular order. You probably … Continue reading

Rate this:

Posted in SharePoint | Tagged , | Leave a comment

SharePoint 2010 SPListCollection.GetList by Id without permissions

If you want to get hold of a SharePoint List by its ID, but only when the current user has access to it, there are many pitfalls. If you try to use SPListCollection.GetList, and plan to check the permissions after … Continue reading

Rate this:

Posted in SharePoint | Tagged , | Leave a comment

SharePoint Person or Group site column problem

Have you ever created a SharePoint site column of type “Person or Group“? Did you use this column in a content type used by Microsoft Word documents? Distributed from a content type hub? If so, you may be in trouble… … Continue reading

Rate this:

Posted in SharePoint | Tagged | 2 Comments

Insert SharePoint 2010 Document ID in a Word document

So the document id feature is a cool thing with SharePoint, but how can you add the document id inside the document text? My client wanted to use the document id as a reference value in their letters, in the … Continue reading

Rate this:

Posted in SharePoint | Tagged , | 34 Comments