SharePoint Lists Complete tutorial


Hello again 🙂

in this post i am going to show u how to Build List Instances Using SharePoint Design and then Visual Studio.

So Lets get Started 😉

Lesson 1: Creating SharePoint List Definitions and

Instances by SPD 2010


Exercise 1: Creating List Instances Using SharePoint Designer:

1)    On the Start menu, click Internet Explorer. Then Open your Sharepoint site for example http://sp2010

2)    Use your username and then password to log in.

3)    On the Site Actions menu, click Edit in SharePoint Designer. And then wait for Sharepoint designer to open.

4)    Click on Lists and libraries on the left to see all the lists in the site.

5)    So to create a new list click on the second option on the ribbon: Sharepoint list.

6)    After clicking on the SharePoint List dropdown button in the ribbon select Links from the drop-down.

7)    In the Create list or document library dialog, name the list “My Links,” leave the description blank and press the OK button.

Our new list now appears in the Lists section of the Lists and Libraries Screen.

8)    Click on the link ”My Links”  to get to the page that allows us to view and manage settings for the list.

9)    In the ribbon of this screen click the “Preview in Browser” button.

==> Our goal is to customize the list, so that it meets our specific requirements, which are to add a new column to store an ISBN number and author information.

Exercise 2: Customising List Instances Using SharePoint Designer:

To customize the list we start in the Lists and Libraries screen.

1)    Hover your mouse over the My Links entry and click on the hyperlink. This will take

you to the view and manage settings for this page list shown in Figure:

2)    In the Customization section click the Edit list columns link.

3)    click the Edit list columns link, the Columns Editor page comes up and shows the two columns that are already defined in our list:URL and Notes.

4) Use the Add Existing Site Column ribbon button shown at the top of Figure to use this site column in our Links list.

The picker lists all the available site columns grouped by the type of lists in which they are typically used.

5)  type Author into the search field of the Site Columns Picker.

The Author site column will be displayed in the dialog.

Double click on the Author site column to add it to your Links list.

6)    click on the Add New Column ribbon drop-down button,in  the drop-down menu that appears select Single Line of Text. Change the column name from the default of NewColumn1 to ISBN.

7)    The Column Editor page should now look like Figure Below . Click the Save button (the floppy disk icon) in the quick access toolbar at the top left of the SharePoint Designer window to save the changes.

8)    Now let’s see how our new  Links list instance looks in the browser.

Congratulations! You just created your first list instance using SharePoint Designer.

Exercise 3:  Creating a Custom View for a List:

The next section shown in the view and manage settings for this list page is

the views section :

1)    Clicking the New button in the Views section shown in the top right corner of the Figure below:

In the Create New List View dialog, name the new view “MyLinks.” Leave the check box for Make this the default view unchecked. Click the OK button. The new list is added to the views section.

2)    Click on the MyLinks link in the view and manage settings for this list page to bring up the List View designer.

3)    Click on the Add/Remove Columns button in the ribbon in the Options page. A dialog with all the fields defined in the list appears. Select the same items as the figure:

4)    Click the Save button in the Share-Point Designer’s quick access toolbar.

5)    On the Home tab, click the Preview in Browser drop-down button. In the drop-down that appears click on a resolution to bring up the browser.

Exercise 4:  Deploying Your List Instance :

1)    From the view and manage settings for this list page, click on Save as Template in the ribbon:

 

2)    Clicking on the Save as Template button will open a SharePoint application

page asking for information for the template you want to create:

3)    In the File name box enter MyLinks. For the name, enter the template name—this is the name that the end user will see. Use “MyLinks” again. Leave the Include Content check box unchecked.

4)    Click the OK button to save the list as a list template.

 

 

 

Lesson 2: Creating SharePoint List Definitions and

Instances by Using Visual Studio 2010

Exercise 4:  Creating List Definitions and Instances Using Visual Studio 2010:

 

To be continued

Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s