ערוך

שתף באמצעות


Create a canvas app from within a solution

Create an app from within a solution if, for example, you want to deploy the app to a different environment. Solutions can contain not only apps but also customized tables, choices, 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.

For more information about solutions, see Solutions overview.

Prerequisite

To follow the steps in this topic, you must switch to an environment that contains a Microsoft Dataverse database.

Note

To use or run a flow in a canvas app that is included in a solution, you must be assigned a Dataverse security role with the Read privilege on the Process (Workflow) table. For more information about security roles and privileges in Dataverse, see Security roles and privileges.

Create a solution

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.

  1. Sign in to Power Apps, and then (if necessary) switch to the appropriate environment:

    • If you want to create an app from within a solution, switch to any environment that contains a Dataverse database.
    • If you want to link an existing app to a solution, switch to the environment that contains that app.
  2. In the left navigation bar, select Solutions.

    Solutions option in the left navigation bar.

  3. In the banner under the title bar, select New solution.

    New-solution option in the banner.

  4. In the window that appears, specify a display name, a publisher, and a version for your solution.

    Options for a new solution.

    A name (with no spaces) will be generated automatically 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.

  5. Near the upper-left corner, select Save and Close.

    Save a new solution.

Create a canvas app in a solution

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.

  1. Sign in to Power Apps.

  2. If necessary, switch to the environment that contains the solution in which you want to create a canvas app.

  3. In the left navigation bar, select Solutions.

    Solutions option in the left navigation bar.

  4. In the list of solutions, select the solution in which you want to create a canvas app.

  5. 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.

    Options to create an app in a solution.

    Power Apps Studio opens with a blank canvas in another browser tab.

  6. Create your app (or make at least one change), and then save your changes.

  7. On the browser tab where you selected your solution, select Done to refresh the list of components in your solution.

    Done button.

    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.

Add an existing canvas app to a solution

If you want to add an app to a solution, both must be in the same environment, and the app must have been created from within a solution.

  1. Sign in to Power Apps.

  2. If necessary, switch to the environment that contains the solution to which you want to link an app.

  3. In the left navigation bar, select Solutions.

    Solutions option in the left navigation bar.

  4. In the list of solutions, select the solution to which you want to link an app.

  5. In the banner under the title bar, select Add existing > App > Canvas app.

    Banner options to link an existing app.

    A list of canvas apps that were created within a solution in this environment appears.

  6. In the list of apps, select the app that you want to link to the solution, and then select Add.

    Add button.

Known limitations

For information about known limitations, see Solutions overview.

Next steps

  • Create or link more apps and other components, such as tables, flows, and dashboards, to your solution.
  • Export your solution so that you can deploy it to another environment, on AppSource, and so forth.

See also

Add canvas apps to solution by default (preview)