Skip to content

Commit c527047

Browse files
PowershellScriptsVesaJuvonen
authored andcommitted
Update modernize-userinterface-site-pages-model.md (SharePoint#4636)
linguistic suggestion, grammar fix
1 parent edcc53b commit c527047

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/transform/modernize-userinterface-site-pages-model.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ localization_priority: Normal
88

99
# Understanding and configuring the page transformation model
1010

11-
The heart of the page transformation solution is the model that feeds the transformation: the model tells the engine which web part properties are important, allows you to manipulate these properties and dynamically choose a mapping for your web part.The page transformation model is expressed in XMl and comes with a schema that's used to validate the correctness of the model.
11+
The heart of the page transformation solution is the model that feeds the transformation: the model tells the engine which web part properties are important, allows you to manipulate these properties and dynamically choose a mapping for your web part. The page transformation model is expressed in XML and comes with a schema that's used to validate the correctness of the model.
1212

1313
> [!IMPORTANT]
1414
> The SharePoint PnP Modernization framework is continuously evolving, checkout [the release notes](https://github.com/SharePoint/sp-dev-modernization/tree/master/Tools/SharePoint.Modernization/Modernization%20Framework%20release%20notes.md) to stay up to date on the latest changes. If you encounter problems please file an issue in the [sp-dev-modernization GitHub issue list](https://github.com/SharePoint/sp-dev-modernization/issues).
@@ -30,7 +30,7 @@ When you open the page transformation model the following top level elements are
3030

3131
- **BaseWebPart**: this element contains the configuration that applies to all web parts e.g. it describes that the property "Title" will be fetched for all web parts. It's also the place that defines the default web part mapping: if a web part has no mapping defined the engine will fall back to this mapping to represent the web part on the target client side page.
3232

33-
- **AddOns**: as user of page transformation you might have the needed to apply custom logic to realize your needs e.g. you need to transform a given property in a way that it can work with your custom client side web part. The framework supports this by allowing you to add your assemblies with functions and selectors...simply defining them in the AddOn section and then referencing your custom functions and selectors later on by prefixing them with the given name will make the page transformation use your custom code.
33+
- **AddOns**: as user of page transformation you might have needed to apply custom logic to realize your needs e.g. you need to transform a given property in a way that it can work with your custom client side web part. The framework supports this by allowing you to add your assemblies with functions and selectors...simply defining them in the AddOn section and then referencing your custom functions and selectors later on by prefixing them with the given name will make the page transformation use your custom code.
3434

3535
- **WebParts**: this element contains information for each web part that you want to transform. For each web part you'll find a definition of the properties to use, the functions to execute on those properties, the possible mappings that define the target of the transformation combined with a selector that you dynamically select the needed mapping.
3636

@@ -81,7 +81,7 @@ A function can have one or more input values which can be:
8181
- Properties that were the output of previous function executions (e.g. {ListWebRelativeUrl})
8282
- Default site scoped properties: {Host}, {Web}, {Site}, {WebId}, {SiteId}
8383

84-
When a function runs it's output will either be:
84+
When a function runs its output will either be:
8585

8686
- A single string value: this value ({Output} in the presented model) will be added to the list of web part properties with name "Output" and value the value that was returned from running `FunctionName`.
8787
- A list of key/value pairs (Dictionary<string,string>): in this case each returned key/value pair is added to the list of web part properties

0 commit comments

Comments
 (0)