Forum Discussion
How do I connect a List webpart to a document library webpart in modern pages?
- Sep 06, 2018
Hi again!
You can try use the "Classic" web parts on the web part page (which is a Classic page on a Modern Site).
Go to Site Settings and "Site Collection Features".
Activate "SharePoint Server Enterprise Site Collection Features"
Now the classic web parts should be available and you can try to configure the webparts and filters that you have used before.
Hope this can lead you in the right direction.
Regards, Magnus
Though You have a Modern Team site you can:
- Create a Web part page.
- On that page You can add two webparts showing the same Document library
- Create two different views, one filtered on Property A and one filtered on Property B
- Modify Page and Edit each of the webparts so that they show each view.
That should solve your problem.
Regards, Magnus
Thanks for your reply but I think you misunderstood my question.
The first webpart should show the contents of List A and the second webpart has the contents of the document library. The document library has a property refering to List A.
When I select an Item in the first webpart (List A), I want the second webpart (document library) to automatically filter based on the selection in the first webpart (List A).
- MagnusGoksoyrOLDProfileSep 06, 2018Bronze Contributor
Hi again!
You can try use the "Classic" web parts on the web part page (which is a Classic page on a Modern Site).
Go to Site Settings and "Site Collection Features".
Activate "SharePoint Server Enterprise Site Collection Features"
Now the classic web parts should be available and you can try to configure the webparts and filters that you have used before.
Hope this can lead you in the right direction.
Regards, Magnus
- ErdYarSep 06, 2018Brass Contributor
Thanks for your answer. Seems like a great solution!