Loading

SharePoint

How to create Custom List in sharepoint?. The Complete SharePoint Developer Course 2023 [Videos].

Let us have a look at how to create a custom list, where we define the list schema, instead of using a predefined schema like the one we did when we created the Contacts list.

Step 1 âˆ’ To create a custom list, go to Site Contents and then add an app. Click Custom List.

Click Custom List

Step 2 âˆ’ Enter Authors in the Name field and then click Create.

Adding Custom List

Step 3 âˆ’ Now you can see that Authors is added. Let us click the Authors app.

Authors Apps

Step 4 âˆ’ Click new item.

Click New Item

Step 5 âˆ’ You can see, our list has only one column. The field name is Title and it is a required field, so here, we will set the field value to Test and then click Save.

Set Field Value

Note âˆ’ In SharePoint, columns are also called fields, so these terms are synonymous.

Step 6 âˆ’ Let us add one more item by clicking on the New Item link.

New Item Link

Step 7 âˆ’ Set the Title field value to Demo and click Save.

Title Field to Demo

You can see we have two items or two rows and we see the values of the Title field. Notice that beside this value, there is a little ellipse, which is a link to open up a menu.

Little Elipse

Note âˆ’ This menu was traditionally called the Edit Control Block or ECB menu, but you will also hear it referred to as the List Item Contacts menu.

We created the custom list because we wanted to define the schema. There are a couple of ways to do this.

Step 8 âˆ’ One way is to put the list into Edit mode. Notice that there is an extra column at the end with a + sign above it and here we can add columns to the list.

Add Columns to List

Step 9 âˆ’ Click the + sign and we can create a Text column.

Text Column

Step 10 âˆ’ You will see the following page. Call this field- Name.

Name Field

Step 11 âˆ’ Enter the names. These will be text.

Enter the Name

Step 12 âˆ’ Now add another column and let us make this as a numeric column such that only numbers can be entered as data. Set this to Rate and add some values.

Add another Column

Now this technique is helpful when you are prototyping out a list, but you do not have a lot of control.

So let us take a look at the other way to define the schema for the list. We will do this through the list settings.

Step 13 âˆ’ Click the Stop editing link get out of the Edit mode. Select List on the Ribbon and then go to List Settings.

Click Stop Editing

Here, we can define the schema for the list. When we created the column, we already had the Title column. You can see two other columns, which we created and a few other columns, which are hidden and used by SharePoint internally.

Title Column

Step 14 âˆ’ To define the schema of the Authors list, click the Name column and click Delete. Next, delete the Rate column.

Schema of Authors List

Step 15 âˆ’ Now if we come back to the Authors list, we can see that those columns are gone along with the values we set for them. Go back to List Settings and set the actual schema that you want.

Actual Schema

Step 16 âˆ’ The page shows a column with Title. However, we do not want this column but a column that represents the authors name. Hence, click Title.

Column With Title

Step 17 âˆ’ When you click Title, a new page will open. Scroll down to the bottom of the page. There is no option to delete the page.

Click Title

Note âˆ’ We cannot delete this page because this column is associated with the ellipse link. however, we can rename it.

Step 18 âˆ’ Rename the column. We will use this column to represent the Author Name and click OK.

Rename the Column

Step 19 âˆ’ Next, add another column to represent whether the author is an employee or is a contributor. Click Create Column.

Click Create Column

Step 20 âˆ’ Set the column name to Employee and select the Yes/No field types. Once we have selected the field type that we wanted, scroll down to the bottom of the page and you can see Additional Column Settings.

Note âˆ’ Several different field types are available. The available field types are different in SharePoint Foundation, SharePoint Server SharePoint Online.

In addition, the kind of site that you are building i.e. a collaboration site or a publishing site will also have an effect on which field types are available.

Publishing Site

Step 21 âˆ’ Set the Default value to No instead of Yes and click OK.

Default Value

Step 22 âˆ’ Now let us create another column, by clicking on Create Column. This column will represent either, the salary for our employees or the rate for contributors.

Creating Another Column

Step 23 âˆ’ We will call it Salary/Rate and set this to the Currency field.

Currency Field

Step 24 âˆ’ Scroll down and make this a required field and set the Minimum to 0 and the Maximum to 1000. Enter 2 for display of currency upto two decimal places.

Edit Currency Field

Step 25 âˆ’ Let us add one more column, which will be the biography. We will just call it Bio and set the type to multiple lines of text.

Biography

Step 26 âˆ’ Enter 6 as six lines for editing is fine. We just want plain text in this case and click OK.

Edit Site

Step 27 âˆ’ We have the schema for our Authors list. Now that our schema is complete, let us add some data. Click Authors under Recent.

Let us delete the two rows we had previously created by clicking on the little check beside each of them. Next, go to Items on the ribbon and click Delete Item.

Delete Item

Step 28 âˆ’ Add the first item by clicking New Item.

Add First Item

Step 29 âˆ’ Enter some more data as shown in the screenshot below.

Enter Data

You will see all the data listed.

Data Listed


See All

Comments (715 Comments)

Submit Your Comment

See All Posts

Related Posts

SharePoint / Blog

What is SharePoint?

SharePoint is a platform to support collaboration and content management system. It is a central web-based portal. Using SharePoint, you can manage your colleague’s and your own documents, social activities, data, and information.
8-Apr-2022 /49 /715

SharePoint / Blog

What is different types and versions to start working on SharePoint?

There are three main ways to install and use SharePoint − SharePoint Foundation SharePoint Server Office 365
8-Apr-2022 /49 /715

SharePoint / Blog

What are the default set of capabilities (or features) built into SharePoint?

we will be covering the default set of capabilities (or features) built into SharePoint that enables you to take advantage of the platform without doing any development.
8-Apr-2022 /49 /715