pnp / modernization

All modernization tooling and guidance
http://aka.ms/sppnp-modernize
MIT License
157 stars 86 forks source link

Page is an basic aspx page...can't currently transform that one, sorry! #21

Closed russgove closed 5 years ago

russgove commented 5 years ago

Hi, Some pages in my Site Pages library give me the above error message others work fine. Looking at the page metadata I cant figure out what the difference is.

What causes this message?

jansenbe commented 5 years ago

Hi Russel,

Below is the applied logic...essentially if we can't identify the page as webpartpage, wikipage, clientsidepage or publishingpage we assume it's a basic aspx page.

Can you check the list item fields for those pages? Can you edit these in SharePoint?

        public static string PageType(this ListItem item)
        {
            if (FieldExistsAndUsed(item, Constants.HtmlFileTypeField) && !String.IsNullOrEmpty(item[Constants.HtmlFileTypeField].ToString()))
            {
                if (item[Constants.HtmlFileTypeField].ToString().Equals("SharePoint.WebPartPage.Document", StringComparison.InvariantCultureIgnoreCase))
                {
                    return "WebPartPage";
                }
            }

            if (FieldExistsAndUsed(item, Constants.WikiField) && !String.IsNullOrEmpty(item[Constants.WikiField].ToString()))
            {
                return "WikiPage";
            }

            if (FieldExistsAndUsed(item, Constants.ClientSideApplicationIdField) && item[Constants.ClientSideApplicationIdField].ToString().Equals(Constants.FeatureId_Web_ModernPage.ToString(), StringComparison.InvariantCultureIgnoreCase))
            {
                return "ClientSidePage";
            }

            if (FieldExists(item, Constants.PublishingRollupImageField) && FieldExists(item, Constants.AudienceField))
            {
                return "PublishingPage";
            }

            if (FieldExistsAndUsed(item, Constants.WikiField))
            {
                return "WikiPage";
            }

            return "AspxPage";
        }
russgove commented 5 years ago

Hi Bert, I have 2 sample pages. Home.aspx cannot be transformed , Home2.aspx transforms just fine. I can edit both pages in the browser, however when I edit Home.aspx none of the webparts show, it's just showing me an empty wiki page to edit. they look the same when viewed in the libtrary:

image

Home.aspx is item #1 is the Site pages list. Home2.aspx is item 17

when I hit Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(1) i get: image

when I hit Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17) i get: image

So Home.aspx has no wiki content.

russgove commented 5 years ago

These pages are being migrated from on prem using sharegate. I redid the migration of just that page and the edit experience in the browser worked properly. (i.e. when i edit the page i can see all the webparts).

When I run ConvertTo-PnPClientSidePage now i am getting: image

jansenbe commented 5 years ago

@russgove : a page without wiki content should still be flagged as wiki page and result in an empty page. I'll open a bug to cross check that in the transformation engine (#22).

For the error after re-import via ShareGate: can provide me the field properties (like you did before with Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)) and if possible the contents (html) from the wikifield?

russgove commented 5 years ago

Thanks bert, here it is: the full file is attached [image: image.png]

On Fri, Dec 21, 2018 at 2:29 AM Bert Jansen notifications@github.com wrote:

@russgove https://github.com/russgove : a page without wiki content should still be flagged as wiki page and result in an empty page. I'll open a bug to cross check that in the transformation engine (#22 https://github.com/SharePoint/sp-dev-modernization/issues/22).

For the error after re-import via ShareGate: can provide me the field properties (like you did before with Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)) and if possible the contents (html) from the wikifield?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/SharePoint/sp-dev-modernization/issues/21#issuecomment-449290476, or mute the thread https://github.com/notifications/unsubscribe-auth/ACTRnBnrKneC-I21TC7piMi3iMZqyZQ4ks5u7I3AgaJpZM4Zcjbm .

jansenbe commented 5 years ago

File is not shown when attached as to mail. Can you paste the contents in here or alternatively send to me via email?

russgove commented 5 years ago

<?xml version="1.0" encoding="utf-8"?><entry xml:base=" https://tenantname.sharepoint.com/sites/sitename/_api/" xmlns=" http://www.w3.org/2005/Atom" xmlns:d=" http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns:m=" http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:georss="http://www.georss.org/georss" xmlns:gml=" http://www.opengis.net/gml" m:etag=""42"">16bdbbc2-8b23-4b74-91a8-388ed8b671cb<category term="SP.Data.SitePagesItem" scheme=" http://schemas.microsoft.com/ado/2007/08/dataservices/scheme" /><link rel="edit" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/FirstUniqueAncestorSecurableObject" type="application/atom+xml;type=entry" title="FirstUniqueAncestorSecurableObject" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/FirstUniqueAncestorSecurableObject" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/RoleAssignments" type="application/atom+xml;type=feed" title="RoleAssignments" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/RoleAssignments" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/AttachmentFiles" type="application/atom+xml;type=feed" title="AttachmentFiles" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/AttachmentFiles" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/ContentType" type="application/atom+xml;type=entry" title="ContentType" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/ContentType" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/GetDlpPolicyTip" type="application/atom+xml;type=entry" title="GetDlpPolicyTip" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/GetDlpPolicyTip" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/FieldValuesAsHtml" type="application/atom+xml;type=entry" title="FieldValuesAsHtml" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/FieldValuesAsHtml" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/FieldValuesAsText" type="application/atom+xml;type=entry" title="FieldValuesAsText" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/FieldValuesAsText" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/FieldValuesForEdit" type="application/atom+xml;type=entry" title="FieldValuesForEdit" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/FieldValuesForEdit" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/File" type="application/atom+xml;type=entry" title="File" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/File" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/Folder" type="application/atom+xml;type=entry" title="Folder" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/Folder" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/LikedByInformation" type="application/atom+xml;type=entry" title="LikedByInformation" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/LikedByInformation" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/ParentList" type="application/atom+xml;type=entry" title="ParentList" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/ParentList" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/Properties" type="application/atom+xml;type=entry" title="Properties" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/Properties" /><link rel=" http://schemas.microsoft.com/ado/2007/08/dataservices/related/Versions" type="application/atom+xml;type=feed" title="Versions" href="Web/Lists(guid'b4c8013a-d2d6-43b7-8658-7d04e71d993c')/Items(17)/Versions" /><updated>2018-12-21T18:35:19Z</updated><author><name /></author><content type="application/xml"><m:properties><d:FileSystemObjectType m:type="Edm.Int32">0</d:FileSystemObjectType><d:Id m:type="Edm.Int32">17</d:Id><d:ServerRedirectedEmbedUri m:null="true" /><d:ServerRedirectedEmbedUrl></d:ServerRedirectedEmbedUrl><d:ContentTypeId>0x0101009D1CB255DA76424F860D91F20E6C4118009E883D84F9C04544A1DDBB9DB3D834C4</d:ContentTypeId><d:WikiField m:null="true" /><d:ComplianceAssetId m:null="true" /><d:Title>Home2</d:Title><d:CanvasContent1><div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="&#123;&quot;editorType&quot;&#58;&quot;CKEditor&quot;,&quot;controlType&quot;&#58;4,&quot;id&quot;&#58;&quot;244efbd6-6cb5-4f4a-bfe7-12ae1d151b25&quot;,&quot;position&quot;&#58;&#123;&quot;controlIndex&quot;&#58;1.0,&quot;zoneIndex&quot;&#58;1.0,&quot;sectionIndex&quot;&#58;1,&quot;sectionFactor&quot;&#58;8&#125;&#125;"><div data-sp-rte=""><p><h2><span> Welcome to your site!</p> <p></span></h2><span><p>&#160;</p></span><span><p>Add a new image, change this welcome text or add new lists to this page by clicking the edit button above. You can click on Shared Documents to add files or on the calendar to create new team events. Use the links in the getting started section to share your site and customize its look.</p> <p></p></span><span><p>&#160;</p></span></p></div></div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="&#123;&quot;editorType&quot;&#58;&quot;CKEditor&quot;,&quot;controlType&quot;&#58;4,&quot;id&quot;&#58;&quot;b4ae81a2-1bea-4044-a482-b3b3259044b6&quot;,&quot;position&quot;&#58;&#123;&quot;controlIndex&quot;&#58;2.0,&quot;zoneIndex&quot;&#58;1.0,&quot;sectionIndex&quot;&#58;1,&quot;sectionFactor&quot;&#58;8&#125;&#125;"><div data-sp-rte=""><p><div><strong>Administration</strong><ul><li><a href="http&#58;//google.com">Administration Guide</a></li><li><a href="http&#58;//google.com">Core Brief</a></li><li><a href="http&#58;//google.com">Directions to Bentley Office</a></li><li><a href="http&#58;// google.com">Helpdesk Quick Link</a></li><li><a href="http&#58;//google.com">Values and Behaviours - Bentley</a></li></ul></div><div><strong>Corporate</strong><ul><li><a href="http&#58;//google.com">sitename</a></li><li><a href="http&#58;//google.com">Vision Statement</a></li><li><a href="http&#58;// google.com">Values and Behaviours</a></li><li><a href="http&#58;//google.com">Safety &amp; Environment Legal Information</a></li><li><a href="http&#58;// google.com">Safety, Health &amp; Environment (SHE) Management Standards</a></li><li><a href="http&#58;// google.com">Environmental Performance Standards</a></li><li><a href="http&#58;// google.com">Safety Performance Standards</a></li></ul></div><div><strong>Bentley Business Plan</strong><ul><li><a href="http&#58;// google.com">2011 Bentley Business Plan</a></li><li><a href="http&#58;//google.com">2012 Bentley Business Plan</a></li></ul></div><div><strong>Microsoft Office Training Modules</strong><ul><li><a href="http&#58;//google.com">Microsoft Office 2010 Training Modules</a></li></ul></div></p></div></div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="&#123;&quot;editorType&quot;&#58;&quot;CKEditor&quot;,&quot;controlType&quot;&#58;4,&quot;id&quot;&#58;&quot;a827b7de-9c9e-4c8e-b4fc-a4d3c8e1c6e9&quot;,&quot;position&quot;&#58;&#123;&quot;controlIndex&quot;&#58;3.0,&quot;zoneIndex&quot;&#58;1.0,&quot;sectionIndex&quot;&#58;1,&quot;sectionFactor&quot;&#58;8&#125;&#125;"><div data-sp-rte=""><p><span><p>&#160;</p></span><span><p>&#160;</p></span><span><p>&#160;</p></span></p></div></div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="&#123;&quot;editorType&quot;&#58;&quot;CKEditor&quot;,&quot;controlType&quot;&#58;4,&quot;id&quot;&#58;&quot;bd013094-aa98-45dc-b0c0-d7a149e41325&quot;,&quot;position&quot;&#58;&#123;&quot;controlIndex&quot;&#58;1.0,&quot;zoneIndex&quot;&#58;1.0,&quot;sectionIndex&quot;&#58;2,&quot;sectionFactor&quot;&#58;4&#125;&#125;"><div data-sp-rte=""><p><span class="fontColorThemeDarker"><p style="text-align&#58;left;"></p> <p></p></span></p></div></div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="&#123;&quot;webPartId&quot;&#58;&quot;d1d91016-032f-456d-98a4-721247c305e8&quot;,&quot;controlType&quot;&#58;3,&quot;id&quot;&#58;&quot;d0130bfa-6969-4684-9f26-cf2940a9d0c2&quot;,&quot;position&quot;&#58;&#123;&quot;controlIndex&quot;&#58;2.0,&quot;zoneIndex&quot;&#58;1.0,&quot;sectionIndex&quot;&#58;2,&quot;sectionFactor&quot;&#58;4&#125;&#125;"><div data-sp-webpart="" data-sp-webpartdataversion="1.8" data-sp-webpartdata="&#123;&quot;id&quot;&#58;&quot;d1d91016-032f-456d-98a4-721247c305e8&quot;,&quot;instanceId&quot;&#58;&quot;d0130bfa-6969-4684-9f26-cf2940a9d0c2&quot;,&quot;title&quot;&#58;&quot;Image&quot;,&quot;description&quot;&#58;&quot;Image&quot;,&quot;dataVersion&quot;&#58;&quot;1.8&quot;,&quot;properties&quot;&#58;&#123;&quot;imageSourceType&quot;&#58;2,&quot;altText&quot;&#58;&quot;People collaborating&quot;,&quot;fileName&quot;&#58;&quot;copmanynameBentley.png&quot;,&quot;siteId&quot;&#58;&quot;4f7ae9b5-ef91-4c7a-b319-6d03686f235b&quot;,&quot;webId&quot;&#58;&quot;b7309131-2020-4ca2-9308-5c0515f0abc3&quot;,&quot;listId&quot;&#58;&quot;b54b5a47-9c54-433f-b123-eb14a27962eb&quot;,&quot;uniqueId&quot;&#58;&quot;f87df8ff-6ed0-4c58-a82d-50e31ffa9804&quot;,&quot;useParallax&quot;&#58;false&#125;&#125;"><div data-sp-componentid="">d1d91016-032f-456d-98a4-721247c305e8</div><div data-sp-htmlproperties=""><div data-sp-prop-name="captionText" data-sp-searchableplaintext="true"></div><img data-sp-prop-name="imageSource" src="/sites/sitename/PublishingImages/copmanynameBentley.png" /></div></div></div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="&#123;&quot;editorType&quot;&#58;&quot;CKEditor&quot;,&quot;controlType&quot;&#58;4,&quot;id&quot;&#58;&quot;86f84d97-6443-4c4a-b6f6-339ffe9b2f02&quot;,&quot;position&quot;&#58;&#123;&quot;controlIndex&quot;&#58;3.0,&quot;zoneIndex&quot;&#58;1.0,&quot;sectionIndex&quot;&#58;2,&quot;sectionFactor&quot;&#58;4&#125;&#125;"><div data-sp-rte=""><p><span><p>&#160;</p></span><span><p>&#160;</p></span></p></div></div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="&#123;&quot;editorType&quot;&#58;&quot;CKEditor&quot;,&quot;controlType&quot;&#58;4,&quot;id&quot;&#58;&quot;6612b317-3337-4043-bc9b-85d764b9e214&quot;,&quot;position&quot;&#58;&#123;&quot;controlIndex&quot;&#58;4.0,&quot;zoneIndex&quot;&#58;1.0,&quot;sectionIndex&quot;&#58;2,&quot;sectionFactor&quot;&#58;4&#125;&#125;"><div data-sp-rte=""><p><br><br></p></div></div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="&#123;&quot;webPartId&quot;&#58;&quot;20745d7d-8581-4a6c-bf26-68279bc123fc&quot;,&quot;controlType&quot;&#58;3,&quot;id&quot;&#58;&quot;4472e4d2-dd60-4d71-913e-b40297ce3590&quot;,&quot;position&quot;&#58;&#123;&quot;controlIndex&quot;&#58;5.0,&quot;zoneIndex&quot;&#58;1.0,&quot;sectionIndex&quot;&#58;2,&quot;sectionFactor&quot;&#58;4&#125;&#125;"><div data-sp-webpart="" data-sp-webpartdataversion="1.0" data-sp-webpartdata="&#123;&quot;id&quot;&#58;&quot;20745d7d-8581-4a6c-bf26-68279bc123fc&quot;,&quot;instanceId&quot;&#58;&quot;4472e4d2-dd60-4d71-913e-b40297ce3590&quot;,&quot;title&quot;&#58;&quot;Events&quot;,&quot;description&quot;&#58;&quot;Events&quot;,&quot;dataVersion&quot;&#58;&quot;1.0&quot;,&quot;properties&quot;&#58;&#123;&quot;selectedListId&quot;&#58;&quot;3741d188-4ef3-45ca-b73d-5bfcd56f27a9&quot;,&quot;selectedCategory&quot;&#58;&quot;&quot;,&quot;dateRangeOption&quot;&#58;0,&quot;startDate&quot;&#58;&quot;&quot;,&quot;endDate&quot;&#58;&quot;&quot;,&quot;isOnSeeAllPage&quot;&#58;false,&quot;layoutId&quot;&#58;&quot;FilmStrip&quot;,&quot;dataProviderId&quot;&#58;&quot;Event&quot;,&quot;webId&quot;&#58;&quot;b7309131-2020-4ca2-9308-5c0515f0abc3&quot;,&quot;siteId&quot;&#58;&quot;4f7ae9b5-ef91-4c7a-b319-6d03686f235b&quot;&#125;&#125;"><div data-sp-componentid="">20745d7d-8581-4a6c-bf26-68279bc123fc</div><div data-sp-htmlproperties=""><div data-sp-prop-name="title" data-sp-searchableplaintext="true"></div><a data-sp-prop-name="baseUrl" href="/sites/sitename"></a></div></div></div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.0" data-sp-controldata="&#123;&quot;editorType&quot;&#58;&quot;CKEditor&quot;,&quot;controlType&quot;&#58;4,&quot;id&quot;&#58;&quot;63f5dde4-21a1-4028-85a4-3856603426ea&quot;,&quot;position&quot;&#58;&#123;&quot;controlIndex&quot;&#58;6.0,&quot;zoneIndex&quot;&#58;1.0,&quot;sectionIndex&quot;&#58;2,&quot;sectionFactor&quot;&#58;4&#125;&#125;"><div data-sp-rte=""><p><span><p>&#160;</p></span><span><p>&#160;</p></span><span><p>&#160;</p></span></p></div></div></div></d:CanvasContent1><d:BannerImageUrl m:type="SP.FieldUrlValue"><d:Description> <a href="https://tenantname.sharepoint.com/_layouts/15/getpreview.ashx?guidSite=4f7ae9b5-ef91-4c7a-b319-6d03686f235b&amp;guidWeb=b7309131-2020-4ca2-9308-5c0515f0abc3&amp;guidFile=f87df8ff-6ed0-4c58-a82d-50e31ffa9804">https://tenantname.sharepoint.com/_layouts/15/getpreview.ashx?guidSite=4f7ae9b5-ef91-4c7a-b319-6d03686f235b&amp;guidWeb=b7309131-2020-4ca2-9308-5c0515f0abc3&amp;guidFile=f87df8ff-6ed0-4c58-a82d-50e31ffa9804</a> </d:Description><d:Url> <a href="https://tenantname.sharepoint.com/_layouts/15/getpreview.ashx?guidSite=4f7ae9b5-ef91-4c7a-b319-6d03686f235b&amp;guidWeb=b7309131-2020-4ca2-9308-5c0515f0abc3&amp;guidFile=f87df8ff-6ed0-4c58-a82d-50e31ffa9804">https://tenantname.sharepoint.com/_layouts/15/getpreview.ashx?guidSite=4f7ae9b5-ef91-4c7a-b319-6d03686f235b&amp;guidWeb=b7309131-2020-4ca2-9308-5c0515f0abc3&amp;guidFile=f87df8ff-6ed0-4c58-a82d-50e31ffa9804</a></d:Url></d:BannerImageUrl><d:Description xml:space="preserve"> Welcome to your site! Add a new image, change this welcome text or add new lists to this page by clicking the edit button above. You can click on Shared Documents to add files or on the calendar to create</d:Description><d:PromotedState m:type="Edm.Double">0</d:PromotedState><d:FirstPublishedDate m:null="true" /><d:LayoutWebpartsContent><div><div data-sp-canvascontrol="" data-sp-canvasdataversion="1.4" data-sp-controldata="&#123;&quot;id&quot;&#58;&quot;cbe7b0a9-3504-44dd-a3a3-0e5cacd07788&quot;,&quot;instanceId&quot;&#58;&quot;cbe7b0a9-3504-44dd-a3a3-0e5cacd07788&quot;,&quot;title&quot;&#58;&quot;Title Region&quot;,&quot;description&quot;&#58;&quot;Title Region Description&quot;,&quot;serverProcessedContent&quot;&#58;&#123;&quot;htmlStrings&quot;&#58;&#123;&#125;,&quot;searchablePlainTexts&quot;&#58;&#123;&#125;,&quot;imageSources&quot;&#58;&#123;&#125;,&quot;links&quot;&#58;&#123;&#125;&#125;,&quot;dataVersion&quot;&#58;&quot;1.4&quot;,&quot;properties&quot;&#58;&#123;&quot;title&quot;&#58;&quot;Home2&quot;,&quot;imageSourceType&quot;&#58;4,&quot;layoutType&quot;&#58;&quot;NoImage&quot;,&quot;textAlignment&quot;&#58;&quot;Left&quot;,&quot;showTopicHeader&quot;&#58;false,&quot;showPublishDate&quot;&#58;false,&quot;topicHeader&quot;&#58;&quot;&quot;&#125;&#125;"></div></div></d:LayoutWebpartsContent><d:OData__AuthorBylineId m:null="true" /><d:_AuthorBylineStringId m:null="true" /><d:OData__TopicHeader m:null="true" /><d:OData<strong>OriginalSourceUrl m:null="true" /><d:OData</strong>OriginalSourceSiteId m:null="true" /><d:OData<strong>OriginalSourceWebId m:null="true" /><d:OData</strong>OriginalSourceListId m:null="true" /><d:OData__OriginalSourceItemId m:null="true" /><d:ID m:type="Edm.Int32">17</d:ID><d:Created m:type="Edm.DateTime">2018-12-20T13:56:25Z</d:Created><d:AuthorId m:type="Edm.Int32">9</d:AuthorId><d:Modified m:type="Edm.DateTime">2018-12-21T13:39:32Z</d:Modified><d:EditorId m:type="Edm.Int32">9</d:EditorId><d:OData<strong>CopySource m:null="true" /><d:CheckoutUserId m:null="true" /><d:OData</strong>UIVersionString>42.0</d:OData__UIVersionString><d:GUID m:type="Edm.Guid">3112ba65-9b7f-438a-bd76-b9c4c3a273cc</d:GUID></m:properties></content></entry></p> <p>On Fri, Dec 21, 2018 at 1:02 PM Bert Jansen <a href="mailto:notifications@github.com">notifications@github.com</a> wrote:</p> <blockquote> <p>File is not shown when attached as to mail. Can you pasted the contents in here or alternatively send to me via email?</p> <p>— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <a href="https://github.com/SharePoint/sp-dev-modernization/issues/21#issuecomment-449457281">https://github.com/SharePoint/sp-dev-modernization/issues/21#issuecomment-449457281</a>, or mute the thread <a href="https://github.com/notifications/unsubscribe-auth/ACTRnBWglSmHe_LWS5uQm0QF1btoT5Ewks5u7SImgaJpZM4Zcjbm">https://github.com/notifications/unsubscribe-auth/ACTRnBWglSmHe_LWS5uQm0QF1btoT5Ewks5u7SImgaJpZM4Zcjbm</a> .</p> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/jansenbe"><img src="https://avatars.githubusercontent.com/u/7451219?v=4" />jansenbe</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>CanvasContent1 and LayoutWebpartsContent are filled, this already is a modern page. Was this created by ShareGate? Somehow the ClientSideApplicationId field is not present, which is what I use to detect a modern page...looks really weird</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/russgove"><img src="https://avatars.githubusercontent.com/u/2412956?v=4" />russgove</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Hi, yes it was created by sharegate. It was migrated from an on prem 2010 farm. It doesnt look modern to me (heres what i see when I edit the page: [image: image.png]</p> <p>On Fri, Dec 21, 2018 at 2:48 PM Bert Jansen <a href="mailto:notifications@github.com">notifications@github.com</a> wrote:</p> <blockquote> <p>CanvasContent1 and LayoutWebpartsContent are filled, this already is a modern page. Was this created by ShareGate? Somehow the ClientSideApplicationId field is not present, which is what I use to detect a modern page...looks really weird</p> <p>— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <a href="https://github.com/SharePoint/sp-dev-modernization/issues/21#issuecomment-449482234">https://github.com/SharePoint/sp-dev-modernization/issues/21#issuecomment-449482234</a>, or mute the thread <a href="https://github.com/notifications/unsubscribe-auth/ACTRnHlR5JQjZliGvz36WCoojO02QIy0ks5u7TsKgaJpZM4Zcjbm">https://github.com/notifications/unsubscribe-auth/ACTRnHlR5JQjZliGvz36WCoojO02QIy0ks5u7TsKgaJpZM4Zcjbm</a> .</p> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/russgove"><img src="https://avatars.githubusercontent.com/u/2412956?v=4" />russgove</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Ah, sharegate has a setting when migrating to 'Convert lists to modern experience'. I had that turned on. Let me turn it off and try again.....</p> <p>On Fri, Dec 21, 2018 at 3:29 PM russell gove <a href="mailto:russellgove@gmail.com">russellgove@gmail.com</a> wrote:</p> <blockquote> <p>Hi, yes it was created by sharegate. It was migrated from an on prem 2010 farm. It doesnt look modern to me (heres what i see when I edit the page: [image: image.png]</p> <p>On Fri, Dec 21, 2018 at 2:48 PM Bert Jansen <a href="mailto:notifications@github.com">notifications@github.com</a> wrote:</p> <blockquote> <p>CanvasContent1 and LayoutWebpartsContent are filled, this already is a modern page. Was this created by ShareGate? Somehow the ClientSideApplicationId field is not present, which is what I use to detect a modern page...looks really weird</p> <p>— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <a href="https://github.com/SharePoint/sp-dev-modernization/issues/21#issuecomment-449482234">https://github.com/SharePoint/sp-dev-modernization/issues/21#issuecomment-449482234</a>, or mute the thread <a href="https://github.com/notifications/unsubscribe-auth/ACTRnHlR5JQjZliGvz36WCoojO02QIy0ks5u7TsKgaJpZM4Zcjbm">https://github.com/notifications/unsubscribe-auth/ACTRnHlR5JQjZliGvz36WCoojO02QIy0ks5u7TsKgaJpZM4Zcjbm</a> .</p> </blockquote> </blockquote> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/russgove"><img src="https://avatars.githubusercontent.com/u/2412956?v=4" />russgove</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>OK , I tested with and without that setting. Sharegate seems to ALWAYs add CanvasContent1 and LayoutWebpartsContent</p> <p><img src="https://user-images.githubusercontent.com/2412956/50379189-c83a0600-0610-11e9-8464-1b95e553fbd5.png" alt="image" /></p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/russgove"><img src="https://avatars.githubusercontent.com/u/2412956?v=4" />russgove</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>btw. Its sharegate v 9.0.2</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/jansenbe"><img src="https://avatars.githubusercontent.com/u/7451219?v=4" />jansenbe</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Interesting...I checked the canvascontent1 field and clearly contains the html structure for a modern client side page...but somehow the ClientSideApplicationId field is not configured with the modern page feature id (=B6917CB1-93A0-4B97-A84D-7CF49975D4EC). Somehow someone experimented with this page resulting in an invalid setup...you could try with setting the ClientSideApplicationId field</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/jansenbe"><img src="https://avatars.githubusercontent.com/u/7451219?v=4" />jansenbe</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Hi @russgove,</p> <p>Any update on this one? It's interesting to understand how that page got created</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/russgove"><img src="https://avatars.githubusercontent.com/u/2412956?v=4" />russgove</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Hi Bert, The page was migrated to spo from a 2010 on prem page using sharegate. I'm going to close this issue because we are not sure whether the site will be moved to SPO or another platform..</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/berryst2"><img src="https://avatars.githubusercontent.com/u/23225850?v=4" />berryst2</a> commented <strong> 5 years ago</strong> </div> <div class="markdown-body"> <p>Hi, I'm getting this error when we tried doing the modern page conversion. we copied the pages/files from on-premises SP 2013 to SPO using ShareGate. we'd like to investigate this further to understand what could be done so that we can modernise the classic publishing pages to modern pages....</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/greddin"><img src="https://avatars.githubusercontent.com/u/967815?v=4" />greddin</a> commented <strong> 4 years ago</strong> </div> <div class="markdown-body"> <p>I'm also getting this as well on site pages that were migrated with ShareGate. Has there ever been a resolution or workaround for this? Thanks.</p> </div> </div> <div class="comment"> <div class="user"> <a rel="noreferrer nofollow" target="_blank" href="https://github.com/RalphBoccalini"><img src="https://avatars.githubusercontent.com/u/135017444?v=4" />RalphBoccalini</a> commented <strong> 1 year ago</strong> </div> <div class="markdown-body"> <p>I am facing the same issue on multiple sites that we are trying to modernize, is there any solution about this topic? </p> </div> </div> <div class="page-bar-simple"> </div> <div class="footer"> <ul class="body"> <li>© <script> document.write(new Date().getFullYear()) </script> Githubissues.</li> <li>Githubissues is a development platform for aggregating issues.</li> </ul> </div> <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script> <script src="/githubissues/assets/js.js"></script> <script src="/githubissues/assets/markdown.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/highlight.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.4.0/build/languages/go.min.js"></script> <script> hljs.highlightAll(); </script> </body> </html>