|
1 | | -# Power Apps code apps (early access preview) 🚀 |
| 1 | +# Power Apps Code Apps (Early Access Preview) 🚀 |
2 | 2 |
|
3 | | -Power Apps aims to empower developers of all skillsets, including developers building web apps in IDEs like Visual Studio Code, to efficiently build and run business apps in a managed platform. Code apps is a new way for developers to bring Power Apps capabilities in web apps they’re building in an code first IDE. These capabilities are available during local development and when an app runs in Power Platform. Power Apps capabilities available to code apps includes out-of-box Microsoft Entra authentication and authorization, access to 1,500+ Power Platform connectors which can be called directly from JavaScript. Code apps make it so any developer with a command line can publish and host their line of business web app in Power Platform. Also, code apps respect your organization’s Managed Platform policies like app sharing limits, Conditional access policies and Data Loss Prevention. Code apps and the managed platform reinforces accelerated innovation in safe places and, when ready, these apps can be deployed to dedicated production environments. |
| 3 | +Power Apps empowers developers of all skillsets—including those building web apps in IDEs like Visual Studio Code—to efficiently build and run business apps on a managed platform. |
| 4 | + |
| 5 | +**Code Apps** is a new way for developers to bring Power Apps capabilities into web apps built in a code-first IDE. These capabilities are available both during local development and when an app runs in Power Platform. |
| 6 | + |
| 7 | +**Key features include:** |
| 8 | +- Out-of-the-box Microsoft Entra authentication and authorization |
| 9 | +- Access to 1,500+ Power Platform connectors, callable directly from JavaScript |
| 10 | +- Easy publishing and hosting of line-of-business web apps in Power Platform |
| 11 | +- Adherence to your organization’s Managed Platform policies (app sharing limits, Conditional Access, Data Loss Prevention, etc.) |
| 12 | + |
| 13 | +The managed platform accelerates innovation in safe environments. When ready, apps can be deployed to dedicated production environments. Code Apps and the managed platform reinforce safe, rapid innovation, and, when ready, these apps can be deployed to dedicated production environments. |
| 14 | + |
| 15 | +[**Sign up for Early Access**](https://aka.ms/paCodeAppsEAP) |
| 16 | + |
| 17 | +# Table of Contents |
| 18 | +- [What is a code app?](#what-is-a-code-app-) |
| 19 | +- [Prerequisites](#prerequisites-) |
| 20 | + - [Install the following developer tools](#install-the-following-developer-tools) |
| 21 | + - [Create a first release Power Platform environment](#create-a-first-release-power-platform-environment) |
| 22 | +- [Getting Started](#getting-started-) |
| 23 | +- [Additional Scenarios](#additional-scenarios) |
| 24 | + - [Connect a code app to data](#1-connect-a-code-app-to-data-) |
| 25 | +- [Supported managed platform capabilities](#supported-managed-platform-capabilities) |
| 26 | +- [Limitations](#limitations) |
| 27 | +- [Preview disclaimer](#preview-disclaimer) |
| 28 | +- [License](#license-) |
| 29 | +- [Code of Conduct](#code-of-conduct) |
4 | 30 |
|
5 | 31 | # What is a code app? ✨ |
6 | 32 |
|
@@ -64,7 +90,7 @@ pac code init |
64 | 90 | ## 4. Run locally |
65 | 91 |
|
66 | 92 | ```bash |
67 | | -npm run dev | pac code run |
| 93 | +npm run dev |
68 | 94 | ``` |
69 | 95 |
|
70 | 96 | ## 5. Deploy to Power Apps |
@@ -112,17 +138,26 @@ Click “+ New connection” and select Office 365 Users. Click “Create”. |
112 | 138 |
|
113 | 139 | #### 3. (Optional) Create a SQL connection (or a connection for another tabular data source). |
114 | 140 |
|
115 | | -#### 4. Copy connection metadata for all created connections. |
| 141 | +#### 4. Get connection metadata for all created connections. |
116 | 142 |
|
117 | | - |
| 143 | +You can use the Power Apps CLI to list your available connections and retrieve their IDs: |
118 | 144 |
|
119 | | -Copy the API name and the connection ID from the URL for each connection: |
| 145 | +```bash |
| 146 | +pac connection list |
| 147 | +``` |
| 148 | + |
| 149 | +This command will display a table of all your connections, including the **Connection ID** and **API Name** (which is used as the appId when adding a data source). |
| 150 | + |
| 151 | + |
120 | 152 |
|
121 | | -API name |
122 | | -Connection ID |
| 153 | +You can also retrive this using the maker portal: |
| 154 | + |
| 155 | + |
123 | 156 |
|
124 | 157 |  |
125 | 158 |
|
| 159 | +Copy the API name and the connection ID from PAC CLI the URL for each connection: |
| 160 | + |
126 | 161 | ### Create and set up connections |
127 | 162 | Once you have created or identified existing connections to use and copied the connection metadata from the previous step, you will now add those connections to the app. |
128 | 163 |
|
|
0 commit comments