Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Application Lifecycle Management (ALM) is the process of managing the lifecycle of an application from initial planning through development, deployment, and ongoing maintenance. ALM for code apps builds on the same principles used throughout the Power Platform, extending them to scenarios where custom code is part of the solution.
For code apps, ALM ensures:
- Consistency across environments: Move apps seamlessly from development to production.
- Governance and compliance: Enforce organizational standards and security policies.
- Predictable deployments: Reduce risk and improve reliability.
Prerequisites
- A Power Platform environment with Dataverse.
- Power Platform CLI (PAC) installed. Check that you have the latest version.
- A non‑default solution for your work (and ideally, set it as the preferred solution)
Save to your preferred solution by default
If your environment has a preferred solution configured, new apps now save to that solution by default when deployed with pac code push. This practice enables healthy ALM from day one by avoiding default solutions.
Learn more about why preferred solutions matter and how to set them up: Set a preferred solution
Add to a specific solution
To target a specific solution (rather than the preferred solution), use the --solutionName parameter when pushing your app
pac code push --solutionName <solutionName>
Add to a solution in Power Apps UI
If you've already deployed your code app to an environment with the pac code push command, add it to a solution in Power Apps:
- Go to Power Apps.
- Navigate to Solutions.
- Select the solution.
- Select Add existing > App > Code app and select the app you want to add.
Deploy using Pipelines
Once the app is in a solution, use Power Platform Pipelines to deploy across stages (Dev → Test → Prod) with preflight checks for dependencies, connection references, and more.
Learn how to use pipelines in the Power Platform.
Using connection references in your code app
Refer to the Use connection references to add a data source section in the How to: Connect your code app to data (preview) page for more information on using connection references in your code app.
Limitations
At this time, Code apps:
- Don't support use of solution packager.
- Don't support source code integration.