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

Commit 68c344c

Browse files
committed
updated modernization binary + mapping files
1 parent f856965 commit 68c344c

File tree

3 files changed

+40
-35
lines changed

3 files changed

+40
-35
lines changed
Binary file not shown.

Commands/ClientSidePages/pagelayoutmapping.xml

+10-10
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<Field Name="PublishingContact" HeaderProperty="Authors" Functions="ToAuthors({PublishingContact})" />
1010
</Header>
1111
<MetaData>
12-
<Field Name="Title" TargetFieldName="Title" Functions="" />
12+
<Field Name="Title" TargetFieldName="" Functions="" />
1313
<Field Name="Comments" TargetFieldName="" Functions="" />
1414
<Field Name="PublishingStartDate" TargetFieldName="" Functions="" />
1515
<Field Name="PublishingExpirationDate" TargetFieldName="" Functions="" />
@@ -49,7 +49,7 @@
4949
<Field Name="PublishingContact" HeaderProperty="Authors" Functions="ToAuthors({PublishingContact})" />
5050
</Header>
5151
<MetaData>
52-
<Field Name="Title" TargetFieldName="Title" Functions="" />
52+
<Field Name="Title" TargetFieldName="" Functions="" />
5353
<Field Name="ArticleStartDate" TargetFieldName="" Functions="" />
5454
</MetaData>
5555
<WebParts>
@@ -72,7 +72,7 @@
7272
<Field Name="PublishingContact" HeaderProperty="Authors" Functions="ToAuthors({PublishingContact})" />
7373
</Header>
7474
<MetaData>
75-
<Field Name="Title" TargetFieldName="Title" Functions="" />
75+
<Field Name="Title" TargetFieldName="" Functions="" />
7676
<Field Name="ArticleStartDate" TargetFieldName="" Functions="" />
7777
</MetaData>
7878
<WebParts>
@@ -96,7 +96,7 @@
9696
<Field Name="PublishingContact" HeaderProperty="Authors" Functions="ToAuthors({PublishingContact})" />
9797
</Header>
9898
<MetaData>
99-
<Field Name="Title" TargetFieldName="Title" Functions="" />
99+
<Field Name="Title" TargetFieldName="" Functions="" />
100100
<Field Name="ArticleStartDate" TargetFieldName="" Functions="" />
101101
</MetaData>
102102
<WebParts>
@@ -120,7 +120,7 @@
120120
<Field Name="PublishingContact" HeaderProperty="Authors" Functions="ToAuthors({PublishingContact})" />
121121
</Header>
122122
<MetaData>
123-
<Field Name="Title" TargetFieldName="Title" Functions="" />
123+
<Field Name="Title" TargetFieldName="" Functions="" />
124124
<Field Name="Comments" TargetFieldName="" Functions="" />
125125
<Field Name="PublishingStartDate" TargetFieldName="" Functions="" />
126126
<Field Name="PublishingExpirationDate" TargetFieldName="" Functions="" />
@@ -153,7 +153,7 @@
153153
<Field Name="PublishingContact" HeaderProperty="Authors" Functions="ToAuthors({PublishingContact})" />
154154
</Header>
155155
<MetaData>
156-
<Field Name="Title" TargetFieldName="Title" Functions="" />
156+
<Field Name="Title" TargetFieldName="" Functions="" />
157157
<Field Name="Comments" TargetFieldName="" Functions="" />
158158
<Field Name="PublishingStartDate" TargetFieldName="" Functions="" />
159159
<Field Name="PublishingExpirationDate" TargetFieldName="" Functions="" />
@@ -177,7 +177,7 @@
177177
<Field Name="PublishingContact" HeaderProperty="Authors" Functions="ToAuthors({PublishingContact})" />
178178
</Header>
179179
<MetaData>
180-
<Field Name="Title" TargetFieldName="Title" Functions="" />
180+
<Field Name="Title" TargetFieldName="" Functions="" />
181181
<Field Name="Comments" TargetFieldName="" Functions="" />
182182
<Field Name="PublishingStartDate" TargetFieldName="" Functions="" />
183183
<Field Name="PublishingExpirationDate" TargetFieldName="" Functions="" />
@@ -214,7 +214,7 @@
214214
<Field Name="PublishingContact" HeaderProperty="Authors" Functions="ToAuthors({PublishingContact})" />
215215
</Header>
216216
<MetaData>
217-
<Field Name="Title" TargetFieldName="Title" Functions="" />
217+
<Field Name="Title" TargetFieldName="" Functions="" />
218218
<Field Name="Comments" TargetFieldName="" Functions="" />
219219
<Field Name="PublishingStartDate" TargetFieldName="" Functions="" />
220220
<Field Name="PublishingExpirationDate" TargetFieldName="" Functions="" />
@@ -232,7 +232,7 @@
232232
<Field Name="PublishingContact" HeaderProperty="Authors" Functions="ToAuthors({PublishingContact})" />
233233
</Header>
234234
<MetaData>
235-
<Field Name="Title" TargetFieldName="Title" Functions="" />
235+
<Field Name="Title" TargetFieldName="" Functions="" />
236236
<Field Name="Comments" TargetFieldName="" Functions="" />
237237
<Field Name="PublishingStartDate" TargetFieldName="" Functions="" />
238238
<Field Name="PublishingExpirationDate" TargetFieldName="" Functions="" />
@@ -258,7 +258,7 @@
258258
<Field Name="PublishingContact" HeaderProperty="Authors" Functions="ToAuthors({PublishingContact})" />
259259
</Header>
260260
<MetaData>
261-
<Field Name="Title" TargetFieldName="Title" Functions="" />
261+
<Field Name="Title" TargetFieldName="" Functions="" />
262262
<Field Name="Comments" TargetFieldName="" Functions="" />
263263
<Field Name="PublishingStartDate" TargetFieldName="" Functions="" />
264264
<Field Name="PublishingExpirationDate" TargetFieldName="" Functions="" />

Commands/ClientSidePages/webpartmapping.xml

+30-25
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ configure the page transformation engine to use the community script editor. You
182182
<WebPart Type="Microsoft.SharePoint.WebPartPages.ContentEditorWebPart, Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" CrossSiteTransformationSupported="true">
183183
<Properties>
184184
<Property Name="ContentLink" Type="string" Functions="{Temp} = ContentEmbedCrossSiteCheck({ContentLink}); {ServerRelativeContent} = ReturnServerRelativePath({ContentLink}); {FullPath} = Concatenate({Host}, {ServerRelativeContent});{EncodedContentLink} = HtmlEncodeForJson({FullPath})" />
185-
<Property Name="Content" Type="string" Functions="{Script} = HtmlEncodeForJson({Content}); {FileContents} = LoadContentFromFile({ContentLink}); {UsePlaceHolders} = ReturnTrue(); {CleanedContents} = TextCleanup({Content},{UsePlaceHolders}); {CleanedFileContents} = TextCleanup({FileContents},{UsePlaceHolders}); {FileContentsEncoded} = HtmlEncodeForJson({FileContents})"/>
185+
<Property Name="Content" Type="string" Functions="{Script} = HtmlEncodeForJson({Content}); {FileContents} = LoadContentFromFile({ContentLink}); {UsePlaceHolders} = ReturnFalse(); {CleanedContents} = TextCleanup({Content},{UsePlaceHolders}); {CleanedFileContents} = TextCleanup({FileContents},{UsePlaceHolders}); {FileContentsEncoded} = HtmlEncodeForJson({FileContents})"/>
186186
<Property Name="PartStorage" Type="string"/>
187187
</Properties>
188188
<!-- If a link was used then:
@@ -879,6 +879,21 @@ configure the page transformation engine to use the community script editor. You
879879
</Mapping>
880880
</Mappings>
881881
</WebPart>
882+
<!-- User Documents web part -->
883+
<WebPart Type="Microsoft.SharePoint.WebPartPages.UserDocsWebPart, Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" CrossSiteTransformationSupported="true">
884+
<Properties>
885+
<Property Name="IsIncluded" Type="bool" Functions="{FullPath} = Concatenate({Host}, {Web});{EncodedWeb} = HtmlEncodeForJson({FullPath})"/>
886+
<Property Name="Dir" Type="string" Functions="UserDocumentsToHighlightedContentProperties()"/>
887+
<Property Name="PartImageSmall" Type="string"/>
888+
<Property Name="PartImageLarge" Type="string"/>
889+
<Property Name="IsIncludedFilter" Type="bool"/>
890+
</Properties>
891+
<Mappings>
892+
<Mapping Default="true" Name="default">
893+
<ClientSideWebPart Type="ContentRollup" 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;cea5863a-b857-46bb-aaf0-ae5f7cb447b6&quot;&#125;&#125;,&quot;dataVersion&quot;&#58;&quot;2.2&quot;,&quot;properties&quot;&#58;{JsonProperties}&#125;"/>
894+
</Mapping>
895+
</Mappings>
896+
</WebPart>
882897
<!-- =========================== UNMAPPED WEBPARTS ========================= -->
883898
<WebPart Type="Microsoft.Office.Server.Search.WebControls.SearchNavigationWebPart, Microsoft.Office.Server.Search,Version=16.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c">
884899
<Properties>
@@ -981,6 +996,20 @@ configure the page transformation engine to use the community script editor. You
981996
</Properties>
982997
</WebPart>
983998
<!-- SharePoint Portal WebControls web parts-->
999+
<!-- Site documents web part -->
1000+
<WebPart Type="Microsoft.SharePoint.Portal.WebControls.SiteDocuments, Microsoft.SharePoint.Portal, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
1001+
<Properties>
1002+
<Property Name="IsIncluded" Type="bool"/>
1003+
<Property Name="Dir" Type="string"/>
1004+
<Property Name="PartImageSmall" Type="string"/>
1005+
<Property Name="PartImageLarge" Type="string"/>
1006+
<Property Name="IsIncludedFilter" Type="bool"/>
1007+
<Property Name="_locDefinition" Type="string"/>
1008+
<Property Name="UserControlledNavigation" Type="bool"/>
1009+
<Property Name="ShowMemberships" Type="bool"/>
1010+
<Property Name="UserTabs" Type="string"/>
1011+
</Properties>
1012+
</WebPart>
9841013
<!-- RSS aggregator -->
9851014
<WebPart Type="Microsoft.SharePoint.Portal.WebControls.RSSAggregatorWebPart, Microsoft.SharePoint.Portal, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
9861015
<Properties>
@@ -1022,20 +1051,6 @@ configure the page transformation engine to use the community script editor. You
10221051
<Property Name="OnlyShowHtmlView" Type="string"/>
10231052
</Properties>
10241053
</WebPart>
1025-
<!-- Site documents web part -->
1026-
<WebPart Type="Microsoft.SharePoint.Portal.WebControls.SiteDocuments, Microsoft.SharePoint.Portal, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
1027-
<Properties>
1028-
<Property Name="IsIncluded" Type="bool"/>
1029-
<Property Name="Dir" Type="string"/>
1030-
<Property Name="PartImageSmall" Type="string"/>
1031-
<Property Name="PartImageLarge" Type="string"/>
1032-
<Property Name="IsIncludedFilter" Type="bool"/>
1033-
<Property Name="_locDefinition" Type="string"/>
1034-
<Property Name="UserControlledNavigation" Type="bool"/>
1035-
<Property Name="ShowMemberships" Type="bool"/>
1036-
<Property Name="UserTabs" Type="string"/>
1037-
</Properties>
1038-
</WebPart>
10391054
<!-- Tag cloud web part -->
10401055
<WebPart Type="Microsoft.SharePoint.Portal.WebControls.TagCloudWebPart, Microsoft.SharePoint.Portal, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
10411056
<Properties>
@@ -1190,16 +1205,6 @@ configure the page transformation engine to use the community script editor. You
11901205
<Property Name="TimelineType" Type="string"/>
11911206
</Properties>
11921207
</WebPart>
1193-
<!-- User Documents web part -->
1194-
<WebPart Type="Microsoft.SharePoint.WebPartPages.UserDocsWebPart, Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
1195-
<Properties>
1196-
<Property Name="IsIncluded" Type="bool"/>
1197-
<Property Name="Dir" Type="string"/>
1198-
<Property Name="PartImageSmall" Type="string"/>
1199-
<Property Name="PartImageLarge" Type="string"/>
1200-
<Property Name="IsIncludedFilter" Type="bool"/>
1201-
</Properties>
1202-
</WebPart>
12031208
<!-- Taxonomy term web part -->
12041209
<WebPart Type="Microsoft.SharePoint.Taxonomy.TermProperty, Microsoft.SharePoint.Taxonomy, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c">
12051210
<Properties>

0 commit comments

Comments
 (0)