Friday, 6 November 2015

Connected web parts in Microsoft SharePoint 2013


We can filter items of one web part based on the items of other web part.
For example consider List with name “Projects” and library with “ProjectDocument”.
     
 

Note: connection is possible if there is link between these 2 lists. As you can see we have used Project as look up field in Project Document library.

Suppose if we want to filter project documents based on project selected in Project list, we make use of connections. To do this create web part with these list and library.

  •    Go-to web part menu of Project documents->connections->Get Filter value from->  Project(List name added as web-part).



 Once you select Project web part, you will get pop up.

  
  • In the pop up window:

            Provider Field Name: 
                   Select unique and required value of “Project” list. In our example it is Title of Project.
            Consumer Field name: 
                   Select field name of “Project Document” library which is linked with Project List.




Once you are done, Click finish.
This establishes connections between “Project” list and “Project Document” library.

  •  Now you can see that we have selected “MS Sharepoint” in Project list and only the related document is shown in Project Document library.








No comments:

Post a Comment