Share via


Understand canvas apps functionality through code view

Important

This content is archived and is not being updated. For the latest documentation, go to the Microsoft Power Apps documentation. For the latest release plans, go to Release plans for Dynamics 365, Power Platform, Cloud for Industry, and Copilot.

Enabled for Public preview Early access General availability
Admins, makers, marketers, or analysts, automatically Jun 2, 2024 - Mar 17, 2025

Business value

Currently, you can't view the code for a canvas app in Power Apps Studio. With this feature, you can use code view to see your app's underlying code, so you better understand the app's functionality. You can also copy the code to share it and paste the code to create new controls.

Feature details

This feature enables you to view the source code for your canvas app in an easy-to-understand YAML format.

With code view, you can:

  • Copy controls from Power Apps Studio as YAML code.
  • Paste YAML code to Power Apps Studio to create controls.
  • View the YAML code within Power Apps Studio.
  • Create templates for screens and reuse code.

To view the code for a control, turn on the Power Fx formula bar in the app settings.

Geographic areas

Visit the Explore Feature Geography report for Microsoft Azure areas where this feature is planned or available.

Language availability

Visit the Explore Feature Language report for information on this feature's availability.

Power Platform (blog)

Understand app functionality through code view (docs)