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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How to delete an asset...
Power Pages
Unanswered

How to delete an asset, Web template, Web Page, Code snippet through visual code

(0) ShareShare
ReportReport
Posted on by 9

Hi, As the title says, how can i delete any file which is created through visual code through power portal CLI or directly from left side code explore in visual code.

 

also if i delete/update/add something through "*.crm.dynamics.com", how can i synch to visual code, couldn't find an documentation on the same, please help on this.

Sannadi77_0-1682513960147.png

 

 

Thanks.

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

    Hi @Sannadi77 

     

    I assume you may figure out the answer by now. Adding my two cents, however. Once you are in VScode, just right-click and you can see the delete permanently option. 

     

    ragavanrajan_0-1683019903396.png

     

    InPortal management: 

     

    once you delete web files, web pages, web templates, etc.  Then go to Design studio> press the Sync button. 

     

    In the VSCode editor tab, you may need to do the hard refresh (ctrl+ F5) for the proper sync. 

     


    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.

  • Sannadi77 Profile Picture
    9 on at

    Hi Raghavan,

     

    Thanks for your response,

     

    i have downloaded entire website to visual code through Power Platform CLI, and i want to delete a particular file form the solution branch like web template which i created, like below, how can i do that and sync the changes to portal again

    Sannadi77_0-1683024465039.png

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 53

#1
rezarizvii Profile Picture

rezarizvii 53

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 24 Most Valuable Professional

Last 30 days Overall leaderboard