web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / While saving PowerApps...
Power Pages
Unanswered

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

Categories:
I have the same question (0)
  • Verified answer
    ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    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.

     

     

  • Community Power Platform Member Profile Picture
    on at

    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

  • Community Power Platform Member Profile Picture
    on at

    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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard