

Users can edit, debug, and preview changes to page edits using Visual Studio Code for the Web without needing to use external tools. Using Visual Studio Code for Web or Visual Studio Code desktop Select Preview to see changes on the Power Pages site. Go to design studio and select Sync to pull all the updates in your current design studio session.

Make changes to the respective files and press Ctrl+S to save the changes. The explorer on the left-side of the screen will load respective customs CSS and custom JS files along with the web page copy content. Wait for Power Platform Tools web extension to initialize, and web page code to load in left-pane. Sign in to Visual Studio Code using your environments credentials. Select Open Visual Studio Code from the confirmation dialog. On the top right corner, select Edit code Open your site in Power Pages design studio Step 1: Edit site code using Visual Studio Code In this tutorial, you'll walk through editing the site code using Visual Studio Code for Web. Tutorial: Edit site code using Visual Studio Code for the Web Go to Styling workspace and select available custom CSS Edit code menu to open code editor. Select site header and then select Edit code to open code editor.Įdit custom CSS code from Styling workspace Header template code from Pages workspace When you open Power Pages design studio, you'll see Edit code option in Pages menu 1 and upper-right corner of the screen 2. Let's take a look how to edit code using these areas.


More information: Using the code editorĮdit code feature will allow users to edit code in following areas: Users in these regions will use the code editor in design workspace to make their changes.
