Skip to content

Commit 0e7c1b6

Browse files
committed
update
1 parent d1c493f commit 0e7c1b6

File tree

2 files changed

+22
-22
lines changed

2 files changed

+22
-22
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,17 @@ To install the default banner web part follow these steps:
7777
When the page transformation engine puts the banner web part on a page it gets it's definition from the webpartmapping.xml file. Check if you find a web part of type **SharePointPnP.Modernization.PageAcceptanceBanner** in your mapping file. Below sample shows the default configuration using the default web part uploaded in the previous step.
7878

7979
```xml
80-
<WebPart Type="SharePointPnP.Modernization.PageAcceptanceBanner">
81-
<Properties>
82-
<Property Name="SourcePage" Type="string"/>
83-
<Property Name="TargetPage" Type="string"/>
84-
</Properties>
85-
<Mappings>
86-
<Mapping Default="true" Name="default">
87-
<ClientSideWebPart Type="Custom" ControlId="d462a7c4-b2e1-4e80-867a-7b46d279c161" Order="10" JsonControlData="&#123;&quot;serverProcessedContent&quot;:&#123;&quot;htmlStrings&quot;:&#123;&#125;,&quot;searchablePlainTexts&quot;:&#123;&#125;;imageSources&quot;:&#123;&#125;,&quot;links&quot;:&#123;&#125;&#125;,&quot;dataVersion&quot;:&quot;1.0&quot;,&quot;properties&quot;:&#123;&quot;description&quot;:&quot;modernizationPageDemo&quot;,&quot;sourcePage&quot;:&quot;ePage}&quot;,&quot;targetPage&quot;:&quot;{TargetPage}&quot;&#125;&#125;"/>
88-
</Mapping>
89-
</Mappings>
90-
</WebPart>
80+
<WebPart Type="SharePointPnP.Modernization.PageAcceptanceBanner">
81+
<Properties>
82+
<Property Name="SourcePage" Type="string"/>
83+
<Property Name="TargetPage" Type="string"/>
84+
</Properties>
85+
<Mappings>
86+
<Mapping Default="true" Name="default">
87+
<ClientSideWebPart Type="Custom" ControlId="d462a7c4-b2e1-4e80-867a-7b46d279c161" Order="10" JsonControlData="&#123;&quot;serverProcessedContent&quot;:&#123;&quot;htmlStrings&quot;:&#123;&#125;,&quot;searchablePlainTexts&quot;:&#123;&#125;,&quot;imageSources&quot;:&#123;&#125;,&quot;links&quot;:&#123;&#125;&#125;,&quot;dataVersion&quot;:&quot;1.0&quot;,&quot;properties&quot;:&#123;&quot;description&quot;:&quot;modernizationPageDemo&quot;,&quot;sourcePage&quot;:&quot;{SourcePage}&quot;,&quot;targetPage&quot;:&quot;{TargetPage}&quot;&#125;&#125;"/>
88+
</Mapping>
89+
</Mappings>
90+
</WebPart>
9191
```
9292

9393
> [!NOTE]

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,17 @@ To install the default banner web part follow these steps:
6060
When the page transformation engine puts the banner web part on a page it gets it's definition from the webpartmapping.xml file. Check if you find a web part of type **SharePointPnP.Modernization.PageAcceptanceBanner** in your mapping file. Below sample shows the default configuration using the default web part uploaded in the previous step.
6161

6262
```xml
63-
<WebPart Type="SharePointPnP.Modernization.PageAcceptanceBanner">
64-
<Properties>
65-
<Property Name="SourcePage" Type="string"/>
66-
<Property Name="TargetPage" Type="string"/>
67-
</Properties>
68-
<Mappings>
69-
<Mapping Default="true" Name="default">
70-
<ClientSideWebPart Type="Custom" ControlId="d462a7c4-b2e1-4e80-867a-7b46d279c161" Order="10" JsonControlData="&#123;&quot;serverProcessedContent&quot;:&#123;&quot;htmlStrings&quot;:&#123;&#125;,&quot;searchablePlainTexts&quot;:&#123;&#125;;imageSources&quot;:&#123;&#125;,&quot;links&quot;:&#123;&#125;&#125;,&quot;dataVersion&quot;:&quot;1.0&quot;,&quot;properties&quot;:&#123;&quot;description&quot;:&quot;modernizationPageDemo&quot;,&quot;sourcePage&quot;:&quot;ePage}&quot;,&quot;targetPage&quot;:&quot;{TargetPage}&quot;&#125;&#125;"/>
71-
</Mapping>
72-
</Mappings>
73-
</WebPart>
63+
<WebPart Type="SharePointPnP.Modernization.PageAcceptanceBanner">
64+
<Properties>
65+
<Property Name="SourcePage" Type="string"/>
66+
<Property Name="TargetPage" Type="string"/>
67+
</Properties>
68+
<Mappings>
69+
<Mapping Default="true" Name="default">
70+
<ClientSideWebPart Type="Custom" ControlId="d462a7c4-b2e1-4e80-867a-7b46d279c161" Order="10" JsonControlData="&#123;&quot;serverProcessedContent&quot;:&#123;&quot;htmlStrings&quot;:&#123;&#125;,&quot;searchablePlainTexts&quot;:&#123;&#125;,&quot;imageSources&quot;:&#123;&#125;,&quot;links&quot;:&#123;&#125;&#125;,&quot;dataVersion&quot;:&quot;1.0&quot;,&quot;properties&quot;:&#123;&quot;description&quot;:&quot;modernizationPageDemo&quot;,&quot;sourcePage&quot;:&quot;{SourcePage}&quot;,&quot;targetPage&quot;:&quot;{TargetPage}&quot;&#125;&#125;"/>
71+
</Mapping>
72+
</Mappings>
73+
</WebPart>
7474
```
7575

7676
> [!NOTE]

0 commit comments

Comments
 (0)