You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix grammar, broken links, and outdated content in SPFx docs (#10723)
* Fix grammar, broken links, and outdated content in SPFx docs
* Update links and improve wording in documentation
---------
Co-authored-by: Andrew Connell <me@andrewconnell.com>
Copy file name to clipboardExpand all lines: docs/spfx/dynamic-data.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Connect SharePoint Framework components using dynamic data
3
3
description: High-level description on how to use dynamic data concept for connecting different SharePoint Framework components
4
-
ms.date: 07/31/2020
4
+
ms.date: 03/16/2026
5
5
ms.localizationpriority: high
6
6
---
7
7
@@ -16,9 +16,9 @@ You can connect two or more SharePoint Framework components together and exchang
16
16
17
17
## Expose data using dynamic data source
18
18
19
-
Dynamic data in the SharePoint Framework is based on the source-notification model. Components named as a dynamic data source, provide data and notify the SharePoint Framework when the data changes.
19
+
Dynamic data in the SharePoint Framework is based on the source-notification model. Components acting as a dynamic data source provide data and notify the SharePoint Framework when the data changes.
20
20
21
-
Other components on the page can subscribe to notifications issued by a dynamic data source. The SharePoint Framework notifies the consumer component that the source has notified its data has changed. The consumer component then requests the data from the source component.
21
+
Other components on the page can subscribe to notifications issued by a dynamic data source. The SharePoint Framework notifies the consumer component that the source data has changed. The consumer component then requests the data from the source component.
22
22
23
23
Every dynamic data source implements the `IDynamicDataCallables` interface.
24
24
@@ -34,7 +34,7 @@ export default class EventsWebPart extends BaseClientSideWebPart<IEventsWebPartP
34
34
/**
35
35
* Currently selected event
36
36
*/
37
-
private _selectedEvent:IEvent;
37
+
private _selectedEvent:IEvent|undefined;
38
38
39
39
/**
40
40
* Event handler for selecting an event in the list
@@ -71,7 +71,7 @@ export default class EventsWebPart extends BaseClientSideWebPart<IEventsWebPartP
71
71
* Return the current value of the specified dynamic data set
72
72
* @parampropertyId ID of the dynamic data set to retrieve the value for
73
73
*/
74
-
public getPropertyValue(propertyId:string):IEvent|ILocation {
74
+
public getPropertyValue(propertyId:string):IEvent|ILocation|undefined{
75
75
switch (propertyId) {
76
76
case'event':
77
77
returnthis._selectedEvent;
@@ -155,7 +155,7 @@ The `getPropertyValue()` method returns the value for the particular type of dat
155
155
156
156
To register a component as a dynamic data source, call the `this.context.dynamicDataSourceManager.initializeSource()` method and pass the instance of the dynamic data source as a parameter. In the previous example, the web part itself implements the `IDynamicDataCallables` interface, which is why the `initializeSource()` method is called with `this` as its argument.
157
157
158
-
In the example code, the web part displays upcoming events in a list. Each time, the user selects an event from the list, the web part calls the `_eventSelected()` method. In that method, the web part assigns the selected event to the `_selectedEvent` class variable and issues a notification that the information about the selected event and location has changed by calling the `this.context.dynamicDataSourceManager.notifyPropertyChanged()` method passing the `id` of the definition that represents the changed data set.
158
+
In the example code, the web part displays upcoming events in a list. Each time the user selects an event from the list, the web part calls the `_eventSelected()` method. In that method, the web part assigns the selected event to the `_selectedEvent` class variable and issues a notification that the information about the selected event and location has changed by calling the `this.context.dynamicDataSourceManager.notifyPropertyChanged()` method passing the `id` of the definition that represents the changed data set.
159
159
160
160
## Consume dynamic data in web parts
161
161
@@ -164,10 +164,14 @@ Web parts can consume data exposed by dynamic data sources present on the page.
164
164
```typescript
165
165
import { DynamicProperty } from '@microsoft/sp-component-base';
In this example, the address is a string, but other types of data such as boolean, numbers or objects are supported as well. Web part properties defined as `DynamicProperty` can retrieve their data from dynamic data sources or values provided directly in the web part properties. Because the same web part property can be used for both dynamic data sources and static values configured in web part properties, you don't need to define multiple web part properties what simplifies building versatile web parts.
354
+
In this example, the address is a string, but other types of data such as boolean, numbers or objects are supported as well. Web part properties defined as `DynamicProperty` can retrieve their data from dynamic data sources or values provided directly in the web part properties. Because the same web part property can be used for both dynamic data sources and static values configured in web part properties, you don't need to define multiple web part properties, which simplifies building versatile web parts.
351
355
352
356
### Define the type of data stored in dynamic properties
Copy file name to clipboardExpand all lines: docs/spfx/enable-Microsoft-365-content-delivery-network.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Enable the Microsoft 365 CDN
3
3
description: Enable the Microsoft 365 CDN on your Microsoft 365 Tenant
4
-
ms.date: 02/08/2021
4
+
ms.date: 03/16/2026
5
5
ms.localizationpriority: medium
6
6
---
7
7
# Enable the Microsoft 365 CDN
@@ -15,29 +15,29 @@ In this article, you'll learn how to enable the Microsoft 365 CDN on your ShareP
15
15
16
16
## Options for managing the Microsoft 365 CDN
17
17
18
-
The Microsoft 365 CDN is managed using the command line and you can use PowerShell cmdlets or the cross-platform CLI for Microsoft 365 available through SharePoint PnP Community channels.
18
+
The Microsoft 365 CDN is managed using the command line, and you can use PowerShell cmdlets or the cross-platform CLI for Microsoft 365 available through SharePoint PnP Community channels.
19
19
20
20
### Microsoft SharePoint Online Management Shell
21
21
22
-
The Microsoft 365 CDN is managed by tenant administrators by using the **Microsoft SharePoint Online Management Shell**, a PowerShell module from Microsoft used to manage your SharePoint Online subscription in Office 365.
22
+
The Microsoft 365 CDN is managed by tenant administrators by using the **Microsoft SharePoint Online Management Shell**, a PowerShell module from Microsoft used to manage your SharePoint Online subscription in Microsoft 365.
23
23
24
24
Before using any of the cmdlets in the Microsoft SharePoint Online Management Shell module, you must first connect to SharePoint Online using the **Connect-SPOService** cmdlet. All CDN settings are managed using the ***-SPOTenantCdn** cmdlets.
25
25
26
-
Learn more here: [Microsoft SharePoint Online Management Shell](https://technet.microsoft.com/library/fp161372.aspx)
26
+
Learn more here: [Microsoft SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
27
27
28
28
### CLI for Microsoft 365
29
29
30
30
The CLI for Microsoft 365 is a cross-platform command-line interface that can be used on any platform, including Windows, macOS, and Linux. The CLI implements the same calls made by the SharePoint Online Management Shell without using PowerShell.
31
31
32
-
Before using any of the commands in the CLI for Microsoft 365, you must first connect to Microsoft 365 tenant using the **m365 login** command.
32
+
Before using any of the commands in the CLI for Microsoft 365, you must first connect to the Microsoft 365 tenant using the **m365 login** command.
33
33
34
34
Learn more here: [CLI for Microsoft 365](https://pnp.github.io/cli-microsoft365?utm_source=msft_docs&utm_medium=page&utm_campaign=Use+SharePoint+Online+tenant+properties)
0 commit comments