Evenementer
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
Mat 4 Chance fir matzemaache kënnt Dir e Konferenz-Pak gewannen an op d’LIVE Grand Finale zu Las Vegas kommen
Méi gewuer ginnDëse Browser gëtt net méi ënnerstëtzt.
Upgrat op Microsoft Edge fir vun de Virdeeler vun leschten Eegeschaften, Sécherheetsupdaten, an techneschem Support ze profitéieren.
[This topic is prerelease documentation and is subject to change.]
Add AI-generated code using Copilot in Visual Studio Code to help you create code using natural language chat interaction. You can also delve deeper into existing code and learn what it means by using the Explain feature. In Power Pages, you make site customizations with HTML, JS, or CSS code that aren't currently supported in the Power Pages low-code design studio. This Copilot chat experience assists Power Pages developers like you to write code by describing your expected code behavior using natural language. You can then refine the generated code and use it when customizing your site.
Wichteg
To understand usage and limitations of Copilot, review the terms and Responsible AI FAQ documents. Check the following requirements to start using Copilot in Power Pages.
Install the latest Power Platform Tools extension.
Open the site root folder in Visual Studio Code.
Sign in to Power Pages Copilot with your Dataverse Environment credentials.
You can also use Copilot in Power Pages while editing code using Visual Studio Code for the Web.
Wichteg
Copilot in Visual Studio Code is tuned to generate code for Power Pages sites, so its functionalities are limited to Power Pages site-supported languages like HTML, JavaScript, and CSS. The generated code from Copilot makes use of supported frameworks like bootstrap and jQuery.
Examples:
Write code for Web API to fetch active contacts
Write code in JavaScript to make sure that submitted value for phone number field is in valid format
Notiz
Copilot's Explain feature is useful for developers who are working on existing code and want to understand it. To use Explain, follow these steps:
Select the lines of code you want to understand from the code editor. Right-click to access the in-context menu. Select Copilot in Power Pages and choose Explain. Copilot records the selected lines of code in the chat panel and provides a response explaining the code to you.
Alternatively, select the lines of code and type Explain selected code
in the Copilot chat panel. You can also directly ask Copilot by adding the code in the prompt. For example, you can ask Explain the following code {% include 'Page Copy'%}
.
In some instances, a prompt is classified incorrectly as malicious code.
In every response of the Copilot chat, select the feedback options, a thumb up (👍) if you like the response or thumb down (👎) if you didn’t like it. Your feedback greatly helps improve the capabilities of this feature.
Evenementer
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
Mat 4 Chance fir matzemaache kënnt Dir e Konferenz-Pak gewannen an op d’LIVE Grand Finale zu Las Vegas kommen
Méi gewuer ginnTraining
Zertifizéierung
Microsoft Certified: Power Platform Developer Associate - Certifications
Demonstrate how to simplify, automate, and transform business tasks and processes using Microsoft Power Platform Developer.