Tag Archives: SharePoint

CQWP sees a null for a field that has a value.

I spent a great deal of time doing battle with the Content Query Web Part (CQWP) this week. The plan was to provide a page of archived news events showing the event published date followed with the event DisplayTitle and … Continue reading

Posted in SharePoint, SharePoint 2007, Tips and Tricks | Tagged , | Leave a comment

Maintain SPFile version comment and last modified date when moving documents

In overview the strategy is one of replaying history. Each version of the file is reposted to the document library. The comment and last modified date is handled with a combination of SPFile.Checkin() and SPListItem.Update(). Intrigued? Then read on….

Posted in SharePoint, SharePoint 2007, SharePoint 2010 | Tagged , , | Leave a comment

SharePoint dates

You would like to think that SharePoint records the Creation and Modification dates for each item once only. Wrong! Take a document in a document library. The item is seen as both an SPListItem and an SPFile. The created and … Continue reading

Posted in SharePoint, SharePoint 2007, SharePoint 2010 | Tagged , , | Leave a comment

GetAssociationByBaseId returns null when the workflow association is disabled

This in my opinion is a bug but feel free to disagree. I came across this odditty when checking that workflow associations were enabled before attempting to start the workflow programmatically.

Posted in SharePoint, SharePoint 2007, SharePoint 2010, Tips and Tricks | Tagged , , | Leave a comment

Increase the manageability of CEWPs using jQuery and a single list

A few days ago I was asked to take a look at a SharePoint site with a faulty web part. The fault was in a web part on a site home page used to display the site’s announcements. Easy I … Continue reading

Posted in SharePoint, SharePoint 2007, SharePoint 2010, Tips and Tricks | Tagged , , , | Leave a comment