Skip to content

Commit 80a9f50

Browse files
authored
Merge pull request MicrosoftDocs#2101 from MicrosoftDocs/master
Pushing changes live
2 parents 7c1e70e + 512644b commit 80a9f50

File tree

5 files changed

+118
-3
lines changed

5 files changed

+118
-3
lines changed

powerapps-docs/developer/model-driven-apps/clientapi/reference/Xrm-Navigation/openForm.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ search.app:
4545
<li><b>navbar</b>: (Optional) String. Controls whether the navigation bar is displayed and whether application navigation is available using the areas and subareas defined in the sitemap. Valid vlaues are: "on", "off", or "entity".<ul><li><code>on</code>: The navigation bar is displayed. This is the default behavior if the <b>navbar</b> parameter is not used.</li>
4646
<li><code>off</code>: The navigation bar is not displayed. People can navigate using other user interface elements or the back and forward buttons.</li><li><code>entity</code>: On an entity form, only the navigation options for related entities are available. After navigating to a related entity, a back button is displayed in the navigation bar to allow returning to the original record.</li></ul></li>
4747
<li><b>openInNewWindow</b>: (Optional) Boolean. Indicates whether to display form in a new window.</li>
48-
<li><b>windowPosition</b>: (Optional) Number. Specify one of the following values for the window position of the form on the screen:<ul><li><code>1:center</code></li><li><code>2:side</code></li></ul>
48+
<li><b>windowPosition</b>: (Optional) Number. Specify one of the following values for the position of the form on the screen:<ul><li><code>1:center</code></li><li><code>2:side</code></li></ul>
49+
This does not apply to opening a new browser window.
4950
<li><b>processId</b>: (Optional) String. ID of the business process to be displayed on the form.</li>
5051
<li><b>processInstanceId</b>: (Optional) String. ID of the business process instance to be displayed on the form.</li>
5152
<li><b>relationship</b>: (Optional) Object. Define a relationship object to display the related records on the form. The object has the following attributes.
@@ -84,7 +85,7 @@ search.app:
8485
</table>
8586
</li>
8687
<li><b>selectedStageId</b>: (Optional) String. ID of the selected stage in business process instance.</li>
87-
<li><b>useQuickCreateForm</b>: (Optional) Boolean. Indicates whether to open a quick create form. If you do not specify this, by default <b>false</b> is passed.</li>
88+
<li><b>useQuickCreateForm</b>: (Optional) Boolean. Indicates whether to open a quick create form. The entity must have the <b>Allow Quick Create</b> option enabled for the quick create form to be displayed and you must also add the entity and the quick create form to your app. If you do not specify the value of <code>useQuickCreateForm</code>, the default will be set to <b>false</b>.</li>
8889
<li><b>width</b>: (Optional) Number. Width of the form window to be displayed in pixels.</li>
8990
</ul>
9091
</tr>

powerapps-docs/maker/TOC.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,14 +135,16 @@
135135
href: ./canvas-apps/sample-meeting-capture.md
136136
- name: Create your first app
137137
items:
138-
- name: 1 - Generate an app from data
138+
- name: 1 - Create an app from data
139139
items:
140140
- name: From Common Data Service
141141
href: ./canvas-apps/data-platform-create-app.md
142142
- name: From SharePoint
143143
href: ./canvas-apps/app-from-sharepoint.md
144144
- name: From Excel
145145
href: ./canvas-apps/get-started-create-from-data.md
146+
- name: From Azure SQL Database
147+
href: ./canvas-apps/app-from-azure-sql-database.md
146148
- name: 2 - Make basic customizations
147149
items:
148150
- name: 1 - Galleries
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
---
2+
title: Create a canvas app from Azure SQL Database | Microsoft Docs
3+
description: Describes how to create canvas app from your data in Azure SQL Database
4+
author: tapanm-msft
5+
manager: kvivek
6+
ms.service: powerapps
7+
ms.topic: conceptual
8+
ms.custom: canvas
9+
ms.reviewer:
10+
ms.date: 10/29/2019
11+
ms.author: tapanm
12+
search.audienceType:
13+
- maker
14+
search.app:
15+
- PowerApps
16+
---
17+
# Preview: Create a canvas app from Azure SQL Database
18+
19+
[This topic is pre-release documentation and is subject to change.]
20+
21+
In this topic, you'll use data in your Azure SQL Database to create an app with PowerApps in minutes. You’ll have a fully functional app with your data that you can customize to fit your business needs and share on any device.
22+
23+
> [!IMPORTANT]
24+
> - This is a preview feature.
25+
> - A preview feature may have limited availability and restricted functionality. A preview feature is available before an official release so that customers can get early access and provide feedback.
26+
27+
## Prerequisites
28+
29+
- Your browser must have pop-ups enabled.
30+
- You need an Azure subscription. </br>If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/).
31+
- You need access to an existing SQL Database. </br> If you don't have an existing SQL Database, [create a new database](https://docs.microsoft.com/azure/sql-database/sql-database-single-database-get-started?tabs=azure-portal).
32+
- You need to allow PowerApps region [IP addresses or Azure services](#app-access-to-sql-database) access to SQL Database in firewall settings.
33+
- The SQL Database table must have at least one column with text data type.
34+
- You need a valid PowerApps license or sign up for a [30 day trial license](../signup-for-powerapps.md).
35+
36+
## Create an app
37+
38+
1. Sign into [Azure Portal](https://portal.azure.com).
39+
2. Navigate to your SQL Database.
40+
3. Select PowerApps.
41+
42+
43+
![PowerApps option in SQL Database options](./media/app-from-azure-sql-database/powerapps-link-azure-portal.png "PowerApps option inside SQL Database")
44+
45+
> [!NOTE]
46+
> If you don't have a PowerApps license, you'll see a blue information bar with a link to start a trial. When you select to start trial, you'll be taken to a new tab where you'll be signed up for a license. Once complete, go back to the Azure portal and refresh the blade to continue.
47+
48+
4. Type a name for the app such as “Site Inspection”, “Fundraiser” or “Budget Tracker”.
49+
50+
5. Enter SQL authentication password and if required, change the username.
51+
6. Select a table from the dropdown that you wish to use to create the app.
52+
53+
7. Select **Create**.
54+
55+
56+
![Specify the information for your app](./media/app-from-azure-sql-database/powerapps-create-page-azure-portal.png "Specify the information for your app")
57+
58+
The [PowerApps Studio](https://create.powerapps.com/studio/) opens in a new tab. If pop-up is blocked, update browser to allow pop-ups and retry. Once created, you'll have a 3 page app with data from your SQL Database.
59+
60+
## Accessing your app
61+
62+
To access the created app again, go to [make.powerapps.com](https://make.powerapps.com).
63+
64+
## App environment and region
65+
66+
The app you create with this method uses the [default environment](https://docs.microsoft.com/power-platform/admin/environments-overview#the-default-environment) for the tenant and deploys to the region of this environment. You can find the region of a deployed app or your tenant's default environment from the [admin center](https://docs.microsoft.com/power-platform/admin/regions-overview#how-do-i-find-out-where-my-app-is-deployed). To review all apps in a specific environment, go to [make.powerapps.com](https://make.powerapps.com), select the **Environment** from the ribbon and then select **Apps** on the left.
67+
68+
## App access to SQL Database
69+
70+
You can configure PowerApps to connect to SQL Database using IP addresses or as an Azure service.
71+
72+
### App access using IP address
73+
74+
[PowerApps system requirements](limits-and-config.md#ip-addresses) lists the IP addresses that PowerApps uses depending on the region of the app.
75+
76+
You can use either a Transact-SQL stored procedure or the Azure portal to configure this access:
77+
78+
- Stored procedure [sp_set_firewall_rule](https://docs.microsoft.com/sql/relational-databases/system-stored-procedures/sp-set-firewall-rule-azure-sql-database?view=azuresqldb-current) for SQL Database or SQL Server level firewall rules.
79+
- [Azure portal](https://docs.microsoft.com/azure/sql-database/sql-database-firewall-configure) for SQL Server level firewall rules.
80+
81+
### App access as an Azure service
82+
83+
PowerApps can connect to SQL Database **Allow access to Azure services** control using the Azure portal. To configure this access, sign in to the [Azure portal](https://portal.azure.com/) and navigate the portal to **SQL Server**. Select **Firewalls and virtual networks** and set the control **Allow Azure services and resources to access this server** to ON. Select **Save** to submit changes.
84+
85+
> [!IMPORTANT]
86+
> If you leave the control set to ON, your Azure SQL Database server accepts communication from any subnet inside the Azure boundary i.e. originating from one of the IP addresses that is recognized as those within ranges defined for Azure data centers. Leaving the control set to ON might be excessive access from a security point of view.
87+
88+
## Limitations
89+
90+
- The app name can only include a letter, digit, '-', '(', ')' or '_'.
91+
- PowerApps requires SQL authentication to connect to SQL Database.
92+
- You can select only one table while creating canvas app from the Azure portal. Customize the app after the app is created if you want to add more tables and other data sources by adding more data connections.
93+
- PowerApps cannot connect to SQL Database using VNet Service Endpoints. For more information, read [allowing access through VNet Service Endpoints](https://docs.microsoft.com/azure/sql-database/sql-database-vnet-service-endpoint-rule-overview).
94+
95+
## Other considerations
96+
97+
- The access of the app to SQL Database is implicitly shared to all users that you [share this app](share-app.md) with. Ensure the SQL authentication credentials have appropriate access for reading and writing data. </br> For example, you can create separate app that connect to the same SQL Database with different SQL authentication credentials to segregate read and read/write access.
98+
- Review throttling limits, delegatable functions and operations, known issues and limitations of the [SQL Database](https://docs.microsoft.com/connectors/sql/) connector this feature uses for performance considerations.
99+
- Create an app from [make.powerapps.com](https://make.powerapps.com) when you need to create an app for a non-default environment and a different region for the tenant using data from SQL Database.
100+
101+
## Next steps
102+
103+
In this quickstart, you created an app using data from your SQL Database using the Azure portal. As a next step, customize the app with controls, images and logic to better suit your business needs.
104+
105+
> [!div class="nextstepaction"]
106+
> [Design the canvas app interface in PowerApps](add-configure-controls.md)
107+
108+
## See also
109+
110+
- [Share a canvas app in PowerApps](share-app.md) </br>
111+
- [Add a data connection to a canvas app in PowerApps](add-data-connection.md#add-data-source)</br>
112+
- [Microsoft Learn: Customize a canvas app in PowerApps](https://docs.microsoft.com/learn/modules/customize-apps-in-powerapps/)

0 commit comments

Comments
 (0)