Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
[This article is prerelease documentation and is subject to change.]
Use the code view feature to look at the underlying code for each control on your app's screens. The code uses an improved format that's a subset of YAML.
With code view you can:
Important
Note
Since this is a preview feature and the format is subject to change. We don't guarantee compatibility with the final version. The current code format seen in the code view isn't suitable for source control during the preview period.
Code view shows the code for the selected control and all its child controls.
Code view lets you copy and paste code to any screen in your app, or outside of Power Apps, to duplicate the control. This duplication feature is helpful when controls are highly customized and you want to share or duplicate it.
Open your app for editing in Power Apps Studio.
Right-click the control in the tree view or on the screen, and then select View code (preview).
Tip
Use the keyboard shortcut Ctrl+F
to find a specific string in the code.
When viewing your code in the code view popup, select Copy code.
Share it or paste it to create a duplicate of the selected control:
Important
You must use the YAML format that Power Apps Studio generates. The code is validated before the new control is created.
Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreTraining
Module
Work with canvas app source code - Training
Learn how to unpack a canvas app from a single monolithic file to many files, each describing an individual part of the app.
Certification
Microsoft Certified: Power Platform Developer Associate - Certifications
Demonstrate how to simplify, automate, and transform business tasks and processes using Microsoft Power Platform Developer.
Documentation
Change app name and icon for canvas apps - Power Apps
Step-by-step instructions for changing settings, such the app name and the icon, of a canvas app in Power Apps.
Button modern control in Power Apps - Power Apps
Learn about the details, properties, and examples of the button modern control in Power Apps.
Add and navigate screens in canvas apps - Power Apps
Learn how to add screens to your canvas app, use arrows to navigate between them, reorder the screens, and set the start screen in Microsoft Power Apps.