Importing List into VS 2010

To import a list into VS 2010, first you need to save the site as a*.WSP package because VS 2010 has a prject template called Import Sharepoint Solution Package.

In your site, Site Actions à Site Settings à Save site as a template.

Give name, and save. The saved Site Template is in the Solution Gallery.

Right click MyHomePage and Save Target As… then save a local copy of MyHomePage.wsp.

Next, run VS 2010, and create a new project based on the Import Sharepoint Solution Package.

In the next screen, browse to the *.WSP file.

next, make sure you only select the list instance that you want to import into VS 2010:

The you will probably get a dependency warning. Just answer yes to let Sharepoint add the missing things for you.

Now the list is imported into VS 2010.

Advertisements
Post a comment or leave a trackback: Trackback URL.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: