Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Commit 1c4471a

Browse files
committed
updated binary + updated web part mapping file
1 parent 8be1829 commit 1c4471a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
6 KB
Binary file not shown.

Commands/ClientSidePages/webpartmapping.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ configure the page transformation engine to use the community script editor. You
1616
- Using the needed switch in PnP PowerShell
1717
-->
1818

19-
<PageTransformation xmlns="http://schemas.dev.office.com/PnP/2018/01/PageTransformationSchema">
19+
<PageTransformation xmlns="http://schemas.dev.office.com/PnP/2018/01/PageTransformationSchema" Version="1.0.1907.0">
2020
<!-- Information that applies to all web parts listed in this file -->
2121
<BaseWebPart>
2222
<Properties>
@@ -803,13 +803,14 @@ configure the page transformation engine to use the community script editor. You
803803
<Property Name="SummaryLinkStore" Type="string" Functions="{FullPath} = Concatenate({Host}, {Web});{EncodedWeb} = HtmlEncodeForJson({FullPath});"/>
804804
<Property Name="ChromeType" Type="integer"/>
805805
<Property Name="Xsl" Type="string"/>
806+
<Property Name="QuickLinksJsonProperties" Type="string"/>
806807
</Properties>
807808
<Mappings Selector="SummaryLinkSelector({SummaryLinksToQuickLinks})">
808809
<Mapping Name="UseText" Default="true" Functions="{CleanedText} = TextCleanUpSummaryLinks({SummaryLinkStore},{ChromeType},{Title})">
809810
<!-- Summary links html is tranformed to html that be presented using the text editor -->
810811
<ClientSideText Order="10" Text="{CleanedText}"/>
811812
</Mapping>
812-
<Mapping Name="UseQuickLinks" Default="false" Functions="SummaryLinksToQuickLinksProperties({SummaryLinkStore})">
813+
<Mapping Name="UseQuickLinks" Default="false" Functions="SummaryLinksToQuickLinksProperties({SummaryLinkStore},{QuickLinksJsonProperties})">
813814
<!-- Summary links html is tranformed to the quicklinks web part -->
814815
<ClientSideWebPart Type="QuickLinks" Order="10" JsonControlData="&#123;&quot;serverProcessedContent&quot;&#58;&#123;&quot;htmlStrings&quot;&#58;&#123;&#125;,&quot;searchablePlainTexts&quot;&#58;&#123;&quot;title&quot;&#58;&quot;{Title}&quot;{SearchablePlainTexts}&#125;,&quot;imageSources&quot;&#58;&#123;{ImageSources}&#125;,&quot;links&quot;&#58;&#123;&quot;baseUrl&quot;&#58;&quot;{EncodedWeb}&quot;{Links}&#125;,&quot;componentDependencies&quot;&#58;&#123;&quot;layoutComponentId&quot;&#58;&quot;706e33c8-af37-4e7b-9d22-6e5694d92a6f&quot;&#125;&#125;,&quot;dataVersion&quot;&#58;&quot;2.1&quot;,&quot;properties&quot;&#58;{JsonProperties}&#125;"/>
815816
</Mapping>

0 commit comments

Comments
 (0)