Click here to Skip to main content
15,867,488 members
Articles / Productivity Apps and Services / Sharepoint

Learn Sharepoint step by step in 8 hours - Part 2

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
17 Apr 2016CPOL9 min read 32.4K   6  
This article is the second part of Learn Sharepoint step by step and in this we will learn Sharepoint Apps, collection , List and permission management.

Contents

Learn SharePoint step by step in 8 hours – Hour 2

Introduction

Lab 7 :- Create Subsite

SharePoint App and List (Theory)

Lab 8:- Adding Holiday SharePoint List on the main page

SharePoint Document Library (Theory)

Lab 9:- Adding company policies to HR SubSite

Lab 10: User, User Group and Permissions.

Stop inherit permissions (Theory)

So what’s in the next 1 hour

To refer to the complete article index of Learn SharePoint step by step please go to the first article click here.

Introduction

We completed 6 SharePoint tutorial videos around site, site collection, adding pages etc. In this lab we will cover 4 labs which covers subsite, list, document library and permission. So below is the syllabus and allocated timings for the lab , go ahead and rock your 1 hour.

 

Lab Name Time allocated in Minutes
Lab 7 Creating Subsite 10
Lab 8 Adding Holiday list on home page 10
Lab 9 Adding company policy document library 10
Lab 10 Adding groups and permissions 20
Theory reading for List , document library ,permission levels , SharePoint apps and stop inherit permissions. 10

If you are completely new to SharePoint my suggestion is to watch the below 1 hour YouTube video which explains the basics of SharePoint.

Image 1

Lab 7 :- Create Subsite

So till now we have created a site which has a home page and a contact us page. Now let us create two sub sites one for HR department and one for Accounts. In case you are new to “SubSite” concept we would suggest you to read the “Subsite” theory which we have explained in first 1 hour before “Lab 3”.

In order to create subsite click on the “settings” icon -> “Site Content” menu -> New SubSite as shown in the below three figures.

Image 2 Image 3 Image 4

Enter all details for the “Subsite” these details where explained in the previous labs.

Image 5

You will end up with a subsite as shown below.

Image 6

Edit the home page as discussed in “Lab 4” and put a simple text for HR department as shown below.

Image 7

Now from HR subsite we would want users to navigate to the home page. So lets edit link and put the link which browses to the main home page.

Image 8 Image 9 Image 10

You can now see the home link on the HR subsite which can navigate back to the main home page.

Image 11

Let’s follow the same steps as we did for HR subsite and create accounts “subsite” with navigation back to the home as shown in the below figure.

Image 12

SharePoint App and List (Theory)

SharePoint App is a stand-alone, self-contained piece of functionality which leverages SharePoint features. Some examples of apps are List (read next paragraph), wiki , custom ASP.NET pages and so on.

SharePoint list is a container for information stored in a spreadsheet format (rows and columns). Every row in the list is termed as list item. You can visualize List as table which SharePoint uses to store information.

So let us go ahead and add list of holidays on the company home page.

Lab 8:- Adding Holiday SharePoint List on the main page

So navigate to the home page -> click on settings -> click site contents -> click on “Add app” and Custom list. See the below images for more details.

Image 13 Image 14 Image 15 Image 16

Enter a proper name to the list.

Image 17

Below is how a SharePoint list looks like. By default list has a column “title” but that does not meet our demand of holiday list. A holiday list would have columns like holiday name and holiday date.

Image 18

So let’s rename the “title” column to “holiday name”. Right click on the column and select rename column as shown in the below figure.

Image 19

To add “Holiday date” column click on the plus sign and select column type as date and time as shown in the below figure.

Image 20

Once you have finished renaming and adding columns click on stop editing.

Image 21

You should now be able to see the list functioning. To add a new item click on new item as shown in the below three figures. You can see how SharePoint cleverly looks at the date time data type and pops up a calendar control.

Below figures show how data gets added to a sharepoint list.

Image 22 Image 23 Image 24

Copy the link and add the link on the left menu of the main site.

Image 25 Image 26

So now we have a more decent looking home page where we have contact us and list of holidays for the organization.

Image 27

SharePoint Document Library (Theory)

Document library is a container to upload and edit documents. List has just information while document library goes one step further where it has information plus end user wants to attach some kind of document like word , excel with it.

So let’s move ahead and add a document library in the HR subsite where HR can update company policies.

Lab 9:- Adding company policies to HR SubSite

So to add document library navigate to the home page à click on settings àclick site contents à click on “Add app” à click on document library icon and give a name to document library. See the below image for more details.

Image 28

Once the document library is added you can now upload document of any format in to the document library. For example in the below image you can see we have added a word document with some data.

Image 29 Image 30 Image 31 Image 32 Image 33

Lab 10: User, User Group and Permissions.

So we now have the main home page and we have two subsites HR and Accounts. Let us go ahead and create two users “user1” and “user2” and we would like to implement the following security things:-

  1. “user1” and “user2” have read only access to the main site.
  2. “user1” has exclusive access to HR site and has the rights to modify and edit the HR subsite. He has no access to accounts site.
  3. “user2” has exclusive access to accounts site and he has rights to modify and edit the Accountsubsite. He has no access to HR site.

So the first step is to create these two “user1” and “user2”. So go to office main portal and click on add new user as shown in the below figure.

Image 34

Fill the user details.

Image 35

So now that we have both the users created let us first give both the users view only access to main site. Go to the main home page and click on site settings. In the settings page you can see there is a separate section for users and permission as shown in the below figure.

Let us first go and create a group which has read only access and add both the users to that group. To create group we need to click on “people and groups” menu in the settings page as shown in the below figure.

Image 36

Click on new and click on new group.

Image 37

Give a proper name and assign admin to the group.

Image 38

Finally the most important thing giving permissions to the group. We have six permissions at this moment Full control, Design, Edit, Contribute, read and view only.

Below are the details of each permission.

View Only: - Includes permissions that enable users to view pages, list items, and documents.

Read: - Includes permissions that enable users to view items on the site pages.

Edit: - Includes permissions that enable users to add, edit and delete lists; can view, add, update and delete list items and documents.

Contribute: - Includes permissions that enable users to add or change items on the site pages or in lists and document libraries.

Design: -Includes permissions that enable users to view, add, update, delete, approve, and customize the layout of site pages by using the browser or SharePoint Designer 2013.

Full Control: -Includes all permissions.

For now we want “user1” and “user2” should have only read-only access so click on read and view only permissions and click create.

Image 39

Once the group is created click on “Add users” to add the user to the group as shown in the below figure.

Image 40

Type the user name and click share. At this moment the below screen is showing just “user1” but it should also have “user2” added to the group.

Image 41

Stop inherit permissions (Theory)

In SharePoint when we have security permission assigned to site collections these permissions gets applied to subsites. So if in the main site collection we have assigned a user read only permission then that user has read only access in the subsite collection as well.

But now what if we want that user to have full control in the subsites for that we need to apply stop inherit permissions to the subsite. Once we apply stop inherit permission we can then apply different permission for the same user on the main site collection and subsites.

Image 42

So now let us browse to the user permissions of HR website and click on “stop inheriting permissions” as shown in the below figure.

Image 43

Once you click on stop inheriting permissions sharepoint warns you that the parent collection permissions will be no longer applicable to the child subsites and that’s what exactly you want.

You want that “user1” should have view only rights to the parent but to the HR subsite he should have admin edit , design and read access.

Image 44

In the next screen sharepoint creates a seperate copy of the parent group and applies to the child subsite.

Image 45

“user1” has full access to the HR subsite. So select HR group, edit user permissions and select all permission for the HR group for this subsite.

Image 46 Image 47

Also we do not want “user1” to access the accounts subsite. So browse to the permission section of account subsite and select remove permission for the HR group.

Image 48

If you want to check permission for a site / subsite / sitecollection click on “check permissions” as shown below, enter group / user and click on check now.

Image 49

In then displays list of group who have permission to the current subsite or site collection.

Image 50 Image 51

Now repeat this whole process for “user2” as well. “user2” has full rights to accounts subsite and no access to HR subsite.

Once done log out from admin , login as “user1” and you should see that “user1” has no access to accounts subsite. If you click on setting you do not find the edit menu because on the home site “user1” has only readonly access.

Image 52

If “user1” browses to HR subsite he has full access to the HR subsite.

So what’s in the next 1 hour

In the next 1 hour we will cover customizing master pages.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect https://www.questpond.com
India India

Comments and Discussions

 
-- There are no messages in this forum --