New answers tagged

1

My advice would be to forget the HTML files and just edit the ASPX itself. HTML page layouts were a bad idea, fraught with problems like this, and in Online there is no recourse when things don't go as expected.


0

Try to insert table with two columns and then insert Excel WP into each column.


1

If you use Set-PnPListItem to change the Content Type and/or Page Layout, as long as you use the -SystemUpdate switch parameter, it will NOT update the Modified and Editor values, for example: Set-PNPListItem -List $yourlist -Identity $itemId2Update -Values @{"ContentTypeId"=$ct.StringId} -SystemUpdate; That is probably the simplest and recommended ...


1

OOTB SharePoint Designer Workflow doesn't give those options to update the page layout. If you want to update the content type using MS flow, refer this link. Other Approach: Change Page Layout Using CSOM With PowerShell in SharePoint Online


0

Per my knowledge, if we change content type or page layout, the modified date and modified by will changed regardless of using PnP script or other ways.


Top 50 recent answers are included