@@ -182,7 +182,7 @@ configure the page transformation engine to use the community script editor. You
182
182
<WebPart Type =" Microsoft.SharePoint.WebPartPages.ContentEditorWebPart, Microsoft.SharePoint, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" CrossSiteTransformationSupported =" true" >
183
183
<Properties >
184
184
<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})" />
186
186
<Property Name =" PartStorage" Type =" string" />
187
187
</Properties >
188
188
<!-- If a link was used then:
@@ -879,6 +879,21 @@ configure the page transformation engine to use the community script editor. You
879
879
</Mapping >
880
880
</Mappings >
881
881
</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 =" {" serverProcessedContent":{" htmlStrings":{} ," searchablePlainTexts":{" title":" {Title}" {SearchablePlainTexts}} ," imageSources":{ {ImageSources}} ," links":{" baseUrl":" {EncodedWeb}" {Links}} ," componentDependencies":{" layoutComponentId":" cea5863a-b857-46bb-aaf0-ae5f7cb447b6"}} ," dataVersion":" 2.2" ," properties": {JsonProperties}} " />
894
+ </Mapping >
895
+ </Mappings >
896
+ </WebPart >
882
897
<!-- =========================== UNMAPPED WEBPARTS ========================= -->
883
898
<WebPart Type =" Microsoft.Office.Server.Search.WebControls.SearchNavigationWebPart, Microsoft.Office.Server.Search,Version=16.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" >
884
899
<Properties >
@@ -981,6 +996,20 @@ configure the page transformation engine to use the community script editor. You
981
996
</Properties >
982
997
</WebPart >
983
998
<!-- 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 >
984
1013
<!-- RSS aggregator -->
985
1014
<WebPart Type =" Microsoft.SharePoint.Portal.WebControls.RSSAggregatorWebPart, Microsoft.SharePoint.Portal, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" >
986
1015
<Properties >
@@ -1022,20 +1051,6 @@ configure the page transformation engine to use the community script editor. You
1022
1051
<Property Name =" OnlyShowHtmlView" Type =" string" />
1023
1052
</Properties >
1024
1053
</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 >
1039
1054
<!-- Tag cloud web part -->
1040
1055
<WebPart Type =" Microsoft.SharePoint.Portal.WebControls.TagCloudWebPart, Microsoft.SharePoint.Portal, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" >
1041
1056
<Properties >
@@ -1190,16 +1205,6 @@ configure the page transformation engine to use the community script editor. You
1190
1205
<Property Name =" TimelineType" Type =" string" />
1191
1206
</Properties >
1192
1207
</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 >
1203
1208
<!-- Taxonomy term web part -->
1204
1209
<WebPart Type =" Microsoft.SharePoint.Taxonomy.TermProperty, Microsoft.SharePoint.Taxonomy, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" >
1205
1210
<Properties >
0 commit comments