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 / 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

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
Fubar Profile Picture

Fubar 70 Super User 2025 Season 2

#2
Jerry-IN Profile Picture

Jerry-IN 55

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard