Task For Creating Web Part And Assigning It To Document Library Or Lists

If you are the administrator of your Sharepoint site than only you can perform this task

First Step

Sharepoint

  • Login in on Sharepoint site with your Windows Authentication.
  • Then click on Site Actions > New Document Library

Please see the below image for your Reference.

On Create page give the Name and Describtion of your Document Library and on “Navigation” Check the “NO” to Display this document Library on the Quick Launch and on “Document Template” select from Drop down “Basic Page” and Click Create.

Sharepoint

Once it’s created you will see this document library on Site Collection > View All Site Contents > Testing Click on Testing.

Sharepoint

Create 3 Web Parts :- Same as below for all three.

  1. First Web Part page has links of Employee View (Here only Employee a USER can see his documents)
  2. Second Web Part Page has link of SharePoint Group and the All Document View.
  3. Third Web part page has internal Web Parts of above two web parts.

We are talking above about view and we are creating this view  for a document Library, or Form Library (Info path form) or from Lists. On these we have created views and  we have to call the Same views to the first two Web Parts.

Go on Site collection Again and create 3 Web Part Pages > Site Collection > More Options > Pages > Web Part Page > Create

Sharepoint

Give the Name of your Web Part page and on “Layout” Choose a Layout template as per Business Requirement, then at last select “Save Location” as the Name of your Document Library

Sharepoint

Once it's Created you will see it will be in your Newly Created Document Library. Click on “Testing” web part > Click on “Page” it’s near to Browse > Click Edit page

On the Header of your Web Part Click “Add a web Part” a PoP up window will slide.

From Category > Select “List and Libraries” > Select "Your Document Library, Lists, or form Library where you have created saved or created”

Sharepoint

Then you will see whatever data you have saved on Document Library, Form Library or List and it will get reflected then,

  1. Click on Right corner of your HTML Form Web Part a drop down
  2. Select “Edit Web Part” > One Pop up Window will slide from Left side
  3. Select the View As “Employee View”
  4. You will get one PoP message of “Switiching to a different view removes changes you have made to this view and may disable web part Connection….. “ Click ok on that.
  5. Click ok Edit Web Part.

    Sharepoint

Click on Second Web Part

  1. Once it's Created you will see it will be in your Newly Created Document Library. Click on “GroupTesting” web part > Click on “Page” it’s near to Browse > Click Edit page
  2. On the Header of your Web Part Click “Add a web Part” a PoP up window will slide.
  3. From Category > Select “List and Libraries” > Select “Your Document Library, Lists, or form Library where you have created saved or created)
  4. Select “Edit Web Part” > One Pop up Window will slide from Left side > Select Current View as “All Document”
  5. And on Advance Tab > Go down and put SharePoint group in “Target Audiences” and click Ok.

Know click on Third Web part

  1. Once it's Created you will see it will be in your Newly Created Document Library. Click on “MergeOfTesting” web part > Click on “Page” it’s near to Browse > Click Edit page
  2. Add Web Part on Centre columns (Any Side you can take) in this e.g; we are taking Centre Right Column a PoP up window will slide from above.
  3. From Category > Select “Forms” > Select “HTML Form Web Part” Click Add
  4. Select “Edit Web Part” > One Pop up Window will slide from Left side
  5. Click Source Editor (Text Editor will open)
    1. <H1>  
    2.    <a href = "Web part you created above Past URL of that" > Employee View </a>  
    3. </H1>  
  6. Add Web Part on Centre columns (Any Side you can take) in this e.g; we are taking Centre Column a PoP up window will slide from above.
  7. From Category > Select “Forms” > Select “HTML Form Web Part” Click Add
  8. Select “Edit Web Part” > One Pop up Window will slide from Left side
  9. Click Source Editor (Text Editor will open)
    1. <H1>  
    2.    <a href = "Web part you created above Past URL of that" > ALL Employee View </a>  
    3. </H1>  
Sharepoint

Now we need to give the Navigation for an User of our “MergeOfTesting “Web Part

Click on Site Action > Site Settings > and In Look and Feel > Navigation link

Sharepoint

Add Heading

Sharepoint

Give URL and Name of your Navigation Title,

Sharepoint

And you will see your Navigation link is created on Sharepoint site click and ENJOY.

Up Next
    Ebook Download
    View all
    Learn
    View all