Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Answered

While saving PowerApps Portal Custom WebTemplate, all of its code is deleted.

(0) ShareShare
ReportReport
Posted on by

While saving PowerApps Portal Custom WebTemplate, all of its code is deleted.

 

My webpage was compeleted, and now I lost all code and unable to undo the code.

Please help me regarding this. 

Thanks

  • Community Power Platform Member Profile Picture
    on at
    Re: While saving PowerApps Portal Custom WebTemplate, all of its code is deleted.

    Hi, 

    I have my findings for this code deletion issue like this is happened with me more then 10 time while working on powerapps portals project.

     

    As per my findings web-Template code is deleted if 

     

    1- We have low strength of signal like system is not connected to internet or having low bandwidth then instead of giving alert/notify to connect with internet it start spinner and delete the opened web-Template code. 
    2- It deletes the code if already some code is being saved and we try to save again. 

     

    My code is deleted more then 10 times. My backups save me. 

     

    So All PowerApps portals please be-aware of it. 

     

    Thanks

  • Community Power Platform Member Profile Picture
    on at
    Re: While saving PowerApps Portal Custom WebTemplate, all of its code is deleted.

    Hi, 

    I was not working with azure devops, my bad luck, because I was not aware that will saving the code, it can be deleted from page template. 

    Screenshot_176.png

    You can see web Template is Active but not containing any code, code is deleted but web Template is existing

  • Verified answer
    ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: While saving PowerApps Portal Custom WebTemplate, all of its code is deleted.

    Hi @Anonymous 

     

    if you enable the Azure DevOps pipeline, you can recover it back from version control. Otherwise, it is hard to retrieve the custom web template code. 

     

    Try if your custom web template is moved to inactive state 

     

    In portal management 

     

    ragavanrajan_0-1647864425298.png

     

    I will check other possibilities 

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35