Views:

Applies to Product - Power Pages


What’s happening?

  1. When opening the Power Pages design studio, the homepage content disappears, and the code in Visual Studio Code is incorrectly formatted.
  2. Recovery of a deleted site in Power Pages management.
  3. Restoring a deleted homepage from Power Pages management.

 

Reason:
 
  1. This is with the homepage formatting was caused by a closing div tag that did not have a corresponding opening tag, which was likely left by mistake during previous customizations.
  2. In Power Pages, once a page is deleted through the management app, there is no immediate "undo" or "restore" option available within the app itself.

 

Resolution:
For the homepage formatting issue:
  1. Identify the location of the erroneous closing div tag.
  2. Remove the additional closing div tag that does not have a corresponding opening tag.
  3. Verify that the homepage content is displayed correctly after the removal.
For recovering a deleted site:
  1. Go to the Power Platform Admin Center and sign in with administrator credentials.
  2. From the left-side menu, select "Environments."
  3. Choose the environment where the webpage was deleted.
  4. Click on "Backup & Restore" and select "Restore" from the available backups.
  5. Choose a backup from a date and time before the webpage was deleted.
  6. Follow the prompts to restore the environment from the selected backup. This process will restore the entire environment to its previous state, including the deleted webpage. Note that any changes made after the backup date will be lost.
  7. For restoring the deleted homepage:
  8. The only option available is to restore the whole environment using the steps outlined above.