SP 2010: Getting started with Business Connectivity Services (BCS) in SharePoint 2010

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction **Article 1 in the small BCS-series: ** 1. SP 2010: Getting started with the Business Connectivity Services (BCS) 2. SP 2010: Programmatically work with External Lists (BCS) in SharePoint 2010 3. SP 2010: Programmatically work with External Lists (BCS) using the Client Object Model BCS in SharePoint 2010 is an awesome refinement of the Business Data Catalog from MOSS 2007. With BCS – or Business Connectivity Services – you get the possibility to connect external data and work with it from SharePoint. In this article…

Read More

SP 2010: How To - Relational lists in SharePoint 2010

One of the new cool things in SharePoint 2010 is the fact that we now have relational lists. In my previous article about List Joins, I talked about how you programmatically can fetch and join information from more than one list with the improved SPQuery object. In this article I will give you an overview of what capabilities you get out of the box when installing SharePoint 2010 – in terms of relational data in lists. Relational Lists in SharePoint 2010 – Overview By utilizing Lookup fields in SharePoint 2010, we can enforce a relationship behavior that we previously would have to…

Read More

SP 2010: Getting started with the Client Object Model in SharePoint 2010

In this article I will talk about how you can get started with using the Client Object Model in SharePoint 2010. This new object model is introduced in SharePoint Foundation 2010, and does not require SharePoint Server 2010 to be installed. The Client Object Model is a new object model introduced in SharePoint 2010 which is aimed at making things easier for the developer when developing client-side applications for SharePoint 2010. Three new client APIs With the Client Object Model, Microsoft has introduced a set of new APIs to work with to ease the daily tasks of developers. .NET Managed…

Read More

SharePoint 2010: Getting Started with Development on SharePoint 2010

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) # Introduction Now after the SharePoint Conference 2009 is over, we’re free to publish and disclose a lot of content around SharePoint 2010. The first thing that I’ll do is to link to these awesome Hands-On-Labs that I stumbled upon ;-) SharePoint 2010 Hands On Labs HOL01 – Developing a Visual Web Part in Visual Studio 2010 This hands-on lab introduces the Visual Studio 2010 SharePoint development environment. It shows how to build a Visual Web Part using LINQ to SharePoint, and how…

Read More

SharePoint BDC Part 2: Creating your first BDC Web Part

Author: Tobias Zimmergren URL: http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction In my previous article (SharePoint BDC Part 1: Getting started with the Business Data Catalog) I talked about what you’ll need to do in order to begin to work with the BCD in SharePoint (MOSS 2007 specifically, as it’s an Enterprise feature). In this article I will briefly guide you through the process of creating your first BDC Web Part that will communicate with the BDC. Note: You can download the source code for this sample project here [Download]…

Read More

Using the object model to access and change RSS settings on a SharePoint list

Author: Tobias Zimmergren URL: http://www.zimmergren | http://www.tozit.com Introduction Sometimes the only option you’ve got is to alter things using the object model of SharePoint. In this particular case I wanted to change the RSS-settings for a specific list. So that’s what this little tip is about – customizing the RSS settings of any SPList object using the SharePoint API. Problem Today I wanted to change and/or customize the RSS settings for a specific list that exist on my site though the API. I found that this wasn’t as obvious as you’d like…

Read More

SharePoint BDC Part 1: Getting Started with the Business Data Catalog

Author: Tobias Zimmergren URL: http://www.zimmergren.net | http://www.tozit.com Introduction In this article I will guide you through the very basics of getting started with Business Data Catalog, BDC: Install the AdventureWorks 2008 Sample Databases 1. We will use this database as our example for retrieving data using the BDC. I will step you through the simple process of creating your ADF (Application Definition File) 1. We will use this file as our import connection I will guide you through how we can import this ADF file and create our BDC Application Lastly, I will guide you…

Read More

Debugging your code execution for anonymous users in SharePoint

Author: Tobias Zimmergren URL: http://www.zimmergren.net Introduction Often when developing solutions that has anonymous users enabled, it can be hard to debug them from your local machine – because when you reach a point in your code where permissions higher than anonymous is required, SharePoint automatically tries to identify the user. This means that if you’re running local development, and is browsing as an anonymous user – everything can be fine until you hit a line of code in your application that requires authentication, you are then automatically logged in. This makes it rather hard for anyone to truly…

Read More