Overview
While changing the page layout and web parts for a site landing page, the page refreshes to be completely blank. You are experiencing issues restoring the page back to a previous page version and are unable to use to page due to the blank content.
Solution
This behavior can occur due to changing the Page Layout with certain incompatible elements within the page. To correct this behavior, it is suggested that you recreate the page as new using the desired Page Layout. To help facilitate this, you can reference the steps below to first revert the page to the previous working version and then replace it with the working page.
Restoring the Page
- Access the Site/Subsite where the affected page is located.
- Select Settings Cog > Site Contents.
- Select the Pages Library.
- Locate the affected page, and click the far-left column to "Select" it:
- Select More > Advanced > Check Out:
- Once checked out to your user, you should now be able to select More > Version History.
- From the Version History window, select the previous working version, and choose Drop Arrow > Restore.
Note: If you continue to experience trouble restoring the original page, you may be able to utilize Powershell to perform these actions with the assistance of your SharePoint Admin.
Please note that Powershell scripts can cause destructive changes to your environment so should not be performed without taking the necessary precautions.
See this 3rd-Party article on the topic for more information.
Rebuilding and Replacing the Default Landing Page
- Within the Pages Library, select Settings Cog > Add a Page.
- Note: The name defined during page creation does not matter, as it will be renamed to replace the original once finalized.
- Once loaded, select Page > Page Layout from the top ribbon.
- Using the page that you previously restored, you can reproduce the content and Web Parts within the new Layout.
- Note: This step will require you to manually migrate the content between the two pages. There is currently no automatic method of performing this content migration between pages with different layouts.
- When you are happy with the changes, select Page > Make Homepage from the top ribbon.
- Save, Check-In, and Publish the new Page if you have not already.
- Navigate to Settings Cog > Site Content.
- Select the Pages Library once again.
- Locate the affected page, and click the far-left column to "Select" it.
- Note: Before proceeding, verify that you have saved the original old page name, as you will be renaming your new page with this name shortly.
- Select More > Delete to remove the old page.
- Locate the newly updated page, and click the far-left column to "Select" it.
- Select More > Rename.
- Adjust the Name field to match the original old page.
- Select Save to finalize the change.
Testing
Reload the previously affected page and verify that you are now correctly seeing the new, updated page appearing with the correct template you defined.
If your issue is not resolved, please contact Bonzai Support along with a HAR file captured while visiting the affected page.