Skip to content

Commit a431a33

Browse files
authored
Merge pull request #928 from MicrosoftDocs/master
Pushing Linh's solution updates to live.
2 parents e134b19 + a6a34a8 commit a431a33

37 files changed

+314
-106
lines changed

powerapps-docs/maker/TOC.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,8 @@
535535
href: ./canvas-apps/functions/function-datetime-parts.md
536536
- name: Year
537537
href: ./canvas-apps/functions/function-datetime-parts.md
538+
- name: Create an app in a solution
539+
href: ./canvas-apps/add-app-solution.md
538540
- name: Build a global app
539541
href: ./canvas-apps/global-apps.md
540542
- name: Make an app accessible
@@ -918,14 +920,16 @@
918920
- name: Work with solutions
919921
href: ./common-data-service/solutions-overview.md
920922
items:
921-
- name: Use solution explorer
923+
- name: Use solutions
922924
href: ./common-data-service/use-solution-explorer.md
923925
- name: Use the Common Data Services default solution
924926
href: ./common-data-service/use-solutions-for-your-customizations.md
925927
- name: Import, update, and export solutions
926928
href: ./common-data-service/import-update-export-solutions.md
927929
- name: Navigate to a specific solution
928930
href: ./common-data-service/navigate-specific-solution.md
931+
- name: Create a solution
932+
href: ./common-data-service/create-solution.md
929933
- name: Use segmented solutions
930934
href: ./common-data-service/use-segmented-solutions-patches-simplify-updates.md
931935
- name: Change the solution publisher prefix
Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
---
2+
title: Create a canvas app in a solution | Microsoft Docs
3+
description: In PowerApps, create a canvas app in a solution so that you can deploy the app to another environment
4+
author: AFTOwen
5+
manager: kvivek
6+
ms.service: powerapps
7+
ms.topic: article
8+
ms.custom: canvas
9+
ms.reviewer:
10+
ms.date: 10/23/2018
11+
ms.author: anneta
12+
search.audienceType:
13+
- maker
14+
search.app:
15+
- PowerApps
16+
---
17+
# Create a canvas app from within a solution
18+
19+
Create an app from within a solution if you want to deploy the app, for example, to a different environment. Solutions can contain not only apps but also customized entities, option sets, and other components. You can quickly customize an environment in a variety of ways by creating apps and other components from within a solution, exporting the solution, and then importing it into another environment.
20+
21+
Solutions are built on the same platform as Dynamics 365 for Customer Engagement. For more information, see [Solutions overview](../common-data-service/solutions-overview.md).
22+
23+
## Prerequisite
24+
25+
To follow the steps in this topic, you must switch to an environment that contains a Common Data Services for Apps database.
26+
27+
## Create a solution
28+
29+
You can skip this procedure if you already have a solution in which you want to create an app or to which you want to link an app.
30+
31+
1. [Sign in](https://web.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) to PowerApps, and then (if necessary) switch to the appropriate environment:
32+
33+
- If you want to create an app from within a solution, switch to any environment that contains a CDS for Apps database.
34+
- If you want to link an existing app to a solution, switch to the environment that contains that app.
35+
36+
1. In the left navigation bar, select **Solutions**.
37+
38+
![Solutions option in the left navigation bar](./media/add-app-solution/left-nav.png)
39+
40+
1. In the banner under the title bar, select **New solution**.
41+
42+
![New-solution option in the banner](./media/add-app-solution/banner-new-solution.png)
43+
44+
1. In the window that appears, specify a display name, a publisher, and a version for your solution.
45+
46+
![Options for a new solution](./media/add-app-solution/configure-new-solution.png)
47+
48+
A name (with no spaces) will be automatically generated based on the display name that you specify, but you can customize the generated name if you want. You can specify the default publisher for your environment and **1.0** for the version if you don't have specific needs in those areas.
49+
50+
1. Near the upper-left corner, select **Save and close**.
51+
52+
![Save a new solution](./media/add-app-solution/save-new-solution.png)
53+
54+
## Create a canvas app in a solution
55+
56+
You can create a blank canvas app from within a solution. You can't automatically generate a three-screen app or customize a template or sample app from within a solution.
57+
58+
1. [Sign in](https://web.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) to PowerApps.
59+
60+
1. If necessary, switch to the environment that contains the solution in which you want to create a canvas app.
61+
62+
1. In the left navigation bar, select **Solutions**.
63+
64+
![Solutions option in the left navigation bar](./media/add-app-solution/left-nav.png)
65+
66+
1. In the list of solutions, select the solution in which you want to create a canvas app.
67+
68+
1. In the banner under the title bar, select **New** > **App** > **Canvas app**, and then select the form factor (phone or tablet) of the app that you want to create.
69+
70+
![Options to create an app in a solution](./media/add-app-solution/new-option.png)
71+
72+
PowerApps Studio opens with a blank canvas in another browser tab.
73+
74+
1. Create your app (or make at least one change), and then save your changes.
75+
76+
1. On the browser tab where you selected your solution, select **Done** to refresh the list of components in your solution.
77+
78+
![Done button](./media/add-app-solution/done-button.png)
79+
80+
Your new app appears in the list of components for that solution. If you save any changes to your app, they will be reflected in the version that's in the solution.
81+
82+
## Link an existing canvas app to a solution
83+
84+
If you want to link an app to a solution, they must be in the same environment, and the app must have been created from within a solution.
85+
86+
1. [Sign in](https://web.powerapps.com?utm_source=padocs&utm_medium=linkinadoc&utm_campaign=referralsfromdoc) to PowerApps.
87+
88+
1. If necessary, switch to the environment that contains the solution to which you want to link an app.
89+
90+
1. In the left navigation bar, select **Solutions**.
91+
92+
![Solutions option in the left navigation bar](./media/add-app-solution/left-nav.png)
93+
94+
1. In the list of solutions, select the solution to which you want to link an app.
95+
96+
1. In the banner under the title bar, select **Add existing** > **App** > **Canvas app**.
97+
98+
![Banner options to link an existing app](./media/add-app-solution/add-existing.png)
99+
100+
A list of canvas apps that were created within a solution in this environment appears.
101+
102+
1. In the list of apps, select the app that you want to link to the solution, and then select **Add**.
103+
104+
![Add button](./media/add-app-solution/add-button.png)
105+
106+
## Known limitations
107+
108+
Please refer to this [section](../common-data-service/use-solution-explorer.md#known-limitations) for a complete list of known limitations for canvas app in solution.
109+
110+
## Next steps
111+
112+
- Create or link more apps and [other components](../common-data-service/use-solution-explorer.md), such as entities, flows, and dashboards, to your solution.
113+
- [Export your solution](../common-data-service/import-update-export-solutions.md) so that you can deploy it to another environment, on AppSource, and so forth.

powerapps-docs/maker/canvas-apps/data-platform-create-app-scratch.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,5 @@ When you build an app from the Common Data Service, you don't need to create a c
154154

155155
## Next steps
156156

157-
[Open one or more sample apps](open-and-run-a-sample-app.md), and explore different types of apps that you can create.
157+
- [Link this app to a project](add-app-solution.md) so that you can, for example, deploy it to a different environment or publish it on AppSource.
158+
- [Open one or more sample apps](open-and-run-a-sample-app.md), and explore different types of apps that you can create.

powerapps-docs/maker/canvas-apps/get-started-create-from-blank.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@ To follow the steps in this tutorial exactly, first create an Excel file using t
236236
1. Close Preview mode by pressing Esc (or by selecting the close icon in the upper-right corner).
237237

238238
## Next steps
239-
* Press Ctrl-S to save your app in the cloud so that you can run it from other devices.
240-
* [Share the app](share-app.md) so that other people can run it.
241-
* Learn more about [functions](working-with-formulas.md) such as **Patch**, which you can use to manage data without creating a standard form.
239+
240+
- Press Ctrl-S to save your app in the cloud so that you can run it from other devices.
241+
- [Share the app](share-app.md) so that other people can run it.
242+
- Learn more about [functions](working-with-formulas.md) such as **Patch**, which you can use to manage data without creating a standard form.
243+
- [Link this app to a project](add-app-solution.md) so that you can, for example, deploy it to a different environment or publish it on AppSource.
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)