SharePoint Dragons

Nikander & Margriet on SharePoint

Monthly Archives: March 2012

Consuming multiple SharePoint lists in SSRS

Interesting article that discusses how to consume multiple (as opposed to the ootb 1) SharePoint lists at the same time within an SSRS report”: http://nikspatel.wordpress.com/2010/04/

SharePoint 2010: Tips for dealing with performance issues

Just created a Wiki page that contains an overview of tips for dealing with performance issues in a SharePoint environment: http://social.technet.microsoft.com/wiki/contents/articles/7926.sharepoint-2010-tips-for-dealing-with-performance-issues.aspx

Cama

An interesting tool for dragging and dropping files from your computer or Outlook to SharePoint: http://www.camasharepoint.com/

Features to activate – March 2012

We just updated the following Wiki page that contains an overview of features you need to activate before specific functionality is available:

http://social.technet.microsoft.com/wiki/contents/articles/7341.which-features-do-i-need-to-activate-in-sharepoint-2010-en-us.aspx

The SharePoint Dialog Framework Wiki page

Check out and improve the following Wiki page containing the top resources about the SharePoint Dialog Framework:
http://social.technet.microsoft.com/wiki/contents/articles/7885.sharepoint-2010-resources-about-the-sharepoint-dialog-framework.aspx

The MVP pattern in web parts

Check out and improve the following Wiki page containing the top resources about implementing the MVP pattern in web parts: http://social.technet.microsoft.com/wiki/contents/articles/7884.sharepoint-2010-building-a-web-part-that-implements-the-mvp-pattern.aspx

SharePoint 2010 Dialog Framework

The SharePoint 2010 is quite a hot topic, and this is a nice blog post explaining the essential stuff you need to know: http://blogs.msdn.com/b/vesku/archive/2010/02/25/how-to-sharepoint-2010-js-client-object-model-and-ui-advancements.aspx

Setting the SharePoint context to null

We came across an interesting, what shall we call it, hack we guess. Suppose you have a scenario where you execute an HTTP POST and try to change something in the SharePoint content database. If you don’t have a valid FormDigest control, you’re in trouble. Apparently, there’s a hack available. If you set the HTTP context to null, the code will be treated as running from outside the Sharepoint context (e.g. from a timer job or a console application) which makes SharePoint refrain from doing a FormDigest check (http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.formdigest.aspx).

var ctx = HttpContext.Current;

try { HttpContext.Current = null; siteCollection.Add(…); }

finally { HttpContext.Current = ctx; }

The hack is described here: http://social.technet.microsoft.com/Forums/en-US/sharepoint2010programming/thread/4f710dda-e5a4-4a56-8570-267aceff8d11

Adding items to SharePoint 2010 thru REST

We’ve found that it’s a common request that people want to add items thru REST. And may we add that REST in SharePoint turns out to be a lot more popular than we expected. Here’s a cool blog post that shows how to add items to SharePoint 2010 via REST: http://blog.tedpattison.net/Lists/Posts/Post.aspx?ID=12

SharePoint Foundation Help Search

Ever noticed a crazy little thing called the SharePoint Foundation Help Search feature? If you activate it, the Help button next to the search input box will navigate your custom help content instead of MS online help. Here’s how you set it up: http://office.microsoft.com/en-us/sharepoint-foundation-help/add-custom-help-to-a-site-collection-HA101833141.aspx