Brief Introduction about Dynamic Data in SharePoint Framework

Sathish Nadarajan
 
Solution Architect
August 4, 2020
 
Rate this article
 
Views
1181

In this article, let us see What is Dynamic Data is all about. Dynamic Data is nothing but a technique using that the data can be transformed between two SharePoint Framework Components. Here the component is NOT referring to the TSX in the same webpart. Components refers to two different webparts or extensions.
To be precise, by using Dynamic Data, the data can be shared between two or more SharePoint Framework WebPart. This is based on the Source Notification model.
Let us consider there are two webparts, WebPart A and WebPart B. The WebPart A contains the list of Cities and WebPart B is making a call to an API and get the temperature. Now, the City selected in WebPart A should be passed to WebPart B. This, we used call as Connected Webparts in legacy development. Now, the same concept is called as Dynamic Data. We will have a detailed step by step procedure to create the webparts in the upcoming article. In this article, am focusing only on the definition and benefits of Dynamic Data.
Here, as I said, there are two webparts, one we can call as Source and the other one is Consumer. The Source should notify the SharePoint Framework when the data has been changed. The SharePoint Framework then informs the Consumer about data change. So that the Consumer webpart again triggered with the Render method. May be, the below diagram explains in detail.

Basically it is a Notification-Subscription model. The Source Webpart will notify the about the data change and the consumer webpart will be subscripted for that change.
In the next article, we will see how to implement this dynamic data with a Sample WebParts.

Happy Coding
Sathish Nadarajan

Category : Office 365, SharePoint

Author Info

Sathish Nadarajan
 
Solution Architect
 
Rate this article
 
Sathish is a Microsoft MVP for SharePoint (Office Servers and Services) having 15+ years of experience in Microsoft Technologies. He holds a Masters Degree in Computer Aided Design and Business ...read more
 

Leave a comment