Connect list view webpart present on modern page to SPFX webpart?

Yogender Singh 51 Reputation points
2021-03-10T12:53:15.563+00:00

How can we connect listwebpart present on modern page to SPFX?

On SharePoint modern page, i have list view of list X and a SPFX webpart. How can i pass data from list view to SPFX?. In on premise, connectable webpart property present but in online how can achieve same?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,230 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,638 questions
0 comments No comments
{count} vote

Accepted answer
  1. MichaelHan-MSFT 18,046 Reputation points
    2021-03-11T06:17:21.803+00:00

    Hi @Yogender Singh ,

    I think Dynamic Data Connections in the framwork is what you are looking for. You could refer to the documentation to implement: https://learn.microsoft.com/en-us/sharepoint/dev/spfx/dynamic-data

    Here are some good samples that would help you:

    https://www.netwoven.com/2019/12/18/data-flow-in-between-multiple-spfx-webparts-using-dynamic-data/

    https://github.com/pnp/FilterPack


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.