SP 2010: Web Application settings (web.config) modifications in SharePoint 2010 via code

Author: Tobias Zimmergren http://www.zimmergren.net | http://www. tozit.com | [@zimmergren](http://twitter.com/zimmergren) Introduction I’ve been getting some questions lately about modifications to web.config files and SharePoint 2010 – is it possible to automate so that the administrator don’t have to manually edit those files on each WFE? Yes, that’s the easy answer. This was possible in SharePoint 2007 as well. In this article I’ll quickly demonstrate how you (using a Web Application feature) can make modifications to web.config automatically. Please note that this is just a getting-started point which you’ll…

Read More

SP 2010: Find error messages with a Correlation ID token in SharePoint 2010

In SharePoint 2010, you’ve got some new capabilities for error reporting and logs. One of the most noted features for me as a developer is that whenever you bump into an error message – you’ll be presented with a correlation ID token. In this article I will try to explain how you can fetch that token from SharePoint, and also provide a small snippet of code to be able to build your own “Log Searcher Web Part” for your administrators. What is a Correlation ID in SharePoint? In SharePoint 2010, you get a Correlation ID (which is a GUID)…

Read More

SP 2010: Developing with the Word Automation Services in SharePoint Server 2010

Author: Tobias Zimmergren http://www.zimmergren.net | http://www. tozit.com | [@zimmergren](http://twitter.com/zimmergren) Introduction In SharePoint 2010, there is a new Service Application called Word Automation Services. This Service Application is used to convert documents from Word to different formats. Word Automation Services can open about the same formats as Windows Word 2010 can: *Filetypes it can open include: **.docx, .docm, .dotx, .dotm, .doc, .dot, .rtf, .mht, .mhtml, .xml (Word xml)* *Filetypes it can save as include: *.docx, .docm, .dotx, .dotm, .doc, .dot, .rtf, .mht, .mhtml, .xml (Word xml), PDF, XPS** In this article you’ll see…

Read More

SP 2010: Introduction to programmatically working with Taxonomies in SharePoint Server 2010

Author: Tobias Zimmergren http://www.zimmergren.net | http://www. tozit.com | [@zimmergren](http://twitter.com/zimmergren) Introduction One of the coolest new set of functionality for SharePoint 2010 is the Taxonomies (Term Store, Term Sets, Terms) that you can easily create using the amazing Managed Metadata Manager service application. In this article I’ll talk briefly about how you can utilize the SharePoint API to programmatically work with Taxonomies and create terms and fetch the terms in your term store. This should give you some nice ideas on how to get going! A simple example of a taxonomy Let’s…

Read More

SP 2010: SharePoint Server 2010 - Creating a custom Document ID provider

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction In this article I will talk about how you can create your custom Document ID provider for your SharePoint Server 2010 installation. Sometimes I’ve been getting the question weather or not it’s possible to change the behavior or change the way the Document ID’s are generated, and some people have a tendency to say no to that question, just because there’s no interface or out of the box functionality to do so. I’ll give you a quick…

Read More

SP 2010: Certification exam details for SharePoint 2010 published

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction Microsoft has published the two developer-oriented certifications for SharePoint 2010 on Microsoft Learning. Personally, I think there is a huge improvement now as we’re not only getting the MCTS-credit but can now also become an MCPD (Microsoft Certified Professional Developer) on the SharePoint platform. Something I’ve been waiting for a long time ;-) SharePoint 2010 exams For us developers/solution architects there are two certifications of interest (of course you should do the IT-pro tracks as well, but let’s…

Read More

SP 2010: Dynamically displaying messages to your users with the Notification and Status bar areas in SharePoint 2010

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction With the new version of SharePoint comes a full set of new and awesome features that you’ll have to indulge and learn. One of the small things that makes my day much more fun is to display messages to your users in the Status- and Notification areas. Example of a message in the Status bar area: Example of a message in the Notification area: How do we make this magic happen? In order to display these messages, you really (really) don’…

Read More

SP 2010: LINQ to SharePoint - What CAML lies behind my query?

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction The two following questions are quite popular in my SharePoint 2010 developer training classes, so I ought to answer them right here. "What does LINQ to SharePoint really do?" "Can I see the CAML query generated by the LINQ to SharePoint query?" The answer is simple: Yes, you can see the results of your generated LINQ query by using the Log property of your DataContext object. What CAML lied behind my LINQ to SharePoint query? In order to…

Read More