Creating a link to new document infoPath form in SharePoint 2010

If you want to create a hyperlink to the new document button of a forms library then you can use the following template.

http://{server}/_layouts/FormServer.aspx?xsnLocation=http://{fullpath to the library}/forms/template.xsn?DefaultItemOpen=1

Just change the server (incl. site collection) and the full path to the library.

That should do it!

SharePoint 2010: How to upload a List Template

- Go to the Home of your site

- Click on Site Actions and select Site Settings

- Under Galleries select List Templates

- Click the Documents tab and select Upload Document

- Select the list template (.stp file) that you want to upload

- Now you can create a list based on your new template

Setting up user profile synchronization in SharePoint 2010

Setting up user profile synchronization seems to be one of the most tricky tasks in SharePoint 2010. I experienced this myself just recently.

The problem was that I started with the farm configuration wizard right after I first installed SharePoint 2010. This basically sets up everything for you, including a default user profile synchronization service and My Site host. Starting from there resulted in lots of issues. I could get SharePoint to work properly with my own newly created User Synchronization Service. Even after properly setting the service connectors.

So after a lot of head scratching I just started all over with two fresh web applications.

In this post I would like to share which documentation I used to set everything up and make it work:

This is probably one of the best guides out there to set up user profile synchronization: http://www.harbar.net/articles/sp2010ups.aspx
Follow it to the letter!

This post explains common issues with user profile synchronization: http://www.harbar.net/articles/sp2010ups2.aspx

This is a video I found explaining user profile synchronization: It’s way too high level though: http://www.microsoft.com/resources/technet/en-us/office/media/video/video.html?cid=stc&from=mscomoffice&VideoID=29d6d43b-3a9a-4e1c-97e4-3fa93ac0d810

This is the official “Configuring profile synchronization guide” from TechNet: http://technet.microsoft.com/en-us/library/ee721049(office.14).aspx#WebAppProc

This TechNet article had some info related to planning user profiles: http://technet.microsoft.com/en-us/library/ee721054.aspx

So hopefully this will help you get you on your way!

10 Hands on labs for Sharepoint 2010 development

Use these 10 hands-on lab manuals for SharePoint 2010 to get started learning SharePoint 2010 development. Each lab is available in C# and Visual Basic.
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 to connect one Web Part to another Web Part on the page.
HOL02 - Developing a List Definition and Event Receiver in Visual Studio 2010
This hands-on lab walks you through building a list definition for SharePoint 2010 in Visual Studio 2010. It also shows how to build an event receiver for the list in Visual Studio 2010 and deploy it to SharePoint. After the list and event receiver are deployed, you can use the developer dashboard to evaluate the performance of the event receiver.
HOL03 – Developing Advanced Web Parts for SharePoint 2010 with Visual Studio 2010
This hands-on lab shows how to build a Web Part using several SharePoint-specific controls in Visual Studio 2010. Investigate advanced built-in Web Parts, including the Data View Web Part.
HOL04 – Developing with LINQ to SharePoint in Visual Studio 2010
This hands-on lab explores a variety of LINQ queries on SharePoint 2010, going into more depth than the introductory hands-on lab. It also walks you through an exercise of creating a custom content type in Visual Studio 2010.
HOL05 - Developing for SharePoint 2010 with the Client OM and REST in Visual Studio 2010
This hands-on lab introduces the Client object model for use in calling SharePoint 2010 APIs from a client machine. It also shows the use of ADO.NET Data Services to call REST services in SharePoint 2010.
HOL06 – Developing a BCS External Content Type with Visual Studio 2010
This hands-on lab walks you through building an external content type for Business Connectivity Services using Visual Studio 2010. It also builds a form for Microsoft Outlook and shows the data being edited offline in Outlook.
HOL07 – Developing a SharePoint 2010 Workflow with Initiation Form in Visual Studio 2010
This hands-on lab walks you through building a workflow in Visual Studio 2010 for SharePoint 2010. You add an initiation form to the workflow and use an external data exchange activity in the workflow.
HOL08 - Developing SharePoint 2010 User Interface with Silverlight in Visual Studio 2010
This hands-on lab walks you through building Microsoft Silverlight applications for use in SharePoint 2010. You will access SharePoint 2010 data in Silverlight using the Client object model.
HOL09 – Developing SharePoint 2010 Sandboxed Solutions in Visual Studio 2010
This hands-on lab walks you through building a Sandboxed Solution Web Part for SharePoint 2010. It will also add code to the Web Part that overloads the limits placed by the sandboxed solution, and you will review how the solution is shut down.
HOL10 - Developing SharePoint 2010 User Interface Ribbon and Dialog Customizations
This hands-on lab walks you through adding a custom action to the SharePoint 2010 ribbon, and creating a Web Part that uses the Dialog Framework.

Download them on Microsoft Download