Tutorials Forums
     Tutorials Videos
        Sign Up Now For FREE

Articles tagged with: SharePoint

10
June
2010

How to Add or Remove SharePoint Connections
4.0/5 rating (2 votes)

Server Explorer lets you browse SharePoint sites as well as data connections. However, before you can browse the contents of a SharePoint site you must add it to the SharePoint Connections node.

To add a SharePoint site to the SharePoint Connections node

  1. Open Server Explorer by clicking Server Explorer on the View menu.

  2. Right-click SharePoint Connections and then click Add Connection.

  3. In the Add SharePoint Connection box, enter the URL for the SharePoint site. For example, http://testserver/sites/unittests.

To delete a SharePoint site from the SharePoint Connections node

  1. Open Server Explorer by clicking Server Explorer on the View menu.

  2. Expand the SharePoint Connections node to reveal the SharePoint site that you want to delete from SharePoint Server Explorer.

  3. Right-click the site and then click Delete.

    NoteNote

    This does not delete the underlying site, it only deletes the connection from Server Explorer.

10
June
2010

How to Extend the SharePoint Tools
1.0/5 rating (1 votes)

You can extend the SharePoint project system and the SharePoint Connections node in the Server Explorer window.

Extending the SharePoint Project System

Visual Studio 2010 includes a set of project templates and item templates that you can use to create SharePoint solutions. For example, there are templates for event receivers, list definitions, workflows, and Web Parts. However, you can also define your own types of SharePoint project items for creating SharePoint components such as fields or custom actions. You can also create extensions for SharePoint project item types that are already installed in Visual Studio, and you can create extensions for SharePoint projects.

For more information, see Extending the SharePoint Project System.

Extending the SharePoint Connections Node in Server Explorer

In Visual Studio 2010, you can use the SharePoint Connections node in the Server Explorer window to view many of the components of one or more local SharePoint sites in a hierarchical tree view. You can also extend the SharePoint Connections node in the following ways:

  • By adding your own nodes. This is useful if you want to display components of SharePoint sites that are not displayed by default.

  • By extending existing nodes. For example, you can add a new child node to an existing node, or you can add a shortcut menu item to a node and perform tasks when a developer clicks the menu item.

For more information, see Extending the SharePoint Connections Node in Server Explorer.

Development Computer Requirements

To create extensions for the SharePoint tools, your development computer must meet the same requirements for creating SharePoint solutions in Visual Studio 2010. For more information, see Requirements for Developing SharePoint Solutions.

We also recommend that you install the Visual Studio 2010 SDK. The SDK includes project templates and tools that you can use to extend Visual Studio. In particular, the SDK includes a project template you can use to easily create a Visual Studio Extension (VSIX) package. VSIX packages are the preferred way to deploy Visual Studio extensions in Visual Studio 2010. All SharePoint tools extensions must be deployed by using VSIX packages. All of the walkthroughs in this documentation assume that you have the Visual Studio 2010 SDK installed.

To download the SDK, see http://go.microsoft.com/fwlink/?LinkId=164562. For more information about Visual Studio extensions, see Developing Visual Studio Extensions.

Source