Concepts
Introduction:
In Microsoft Power Platform, App Maker allows users to create canvas apps that can be tailored to meet specific business requirements. These canvas apps undergo continuous development and improvement, making it essential to manage different versions effectively. In this article, we will explore how to manage versions of canvas apps using the features provided by Microsoft Power Platform.
1. Understanding Canvas App Versions:
Canvas apps in Power Platform are developed using the Power Apps Studio. Each canvas app is associated with a version number to identify and track changes made over time. The version number follows a major.minor.update scheme, where major indicates significant changes, minor signifies feature additions, and update represents bug fixes or minor enhancements.
2. Creating a New Version:
To create a new version of a canvas app, follow these steps:
- Open the canvas app in Power Apps Studio.
- Click on the “File” tab and select “Save as.”
- Provide a version number or let the system auto-generate the next version.
- Optionally, add release notes to provide a brief description of changes made in the new version.
- Click on the “Save” button to create a new version.
3. Managing Version History:
Power Platform offers version history to keep track of all changes made to a canvas app. This enables developers to revert to earlier versions if required. To manage version history, follow these steps:
- Open the canvas app in Power Apps Studio.
- Click on the “File” tab and select “Details.”
- In the “Version history” section, you can view a list of all versions created, along with their release notes.
- To revert to a previous version, select the version from the list and click on the “Restore” button.
4. Publishing and Sharing Versions:
Publishing allows you to make a specific version of your canvas app available for use by end-users. Publishing a version ensures that changes made in subsequent versions won’t impact the version being published. To publish a canvas app version:
- Open the canvas app in Power Apps Studio.
- Click on the “File” tab and select “Details.”
- In the “Version history” section, select the version you want to publish.
- Click on the “Publish” button to make that version available for end-users.
Sharing a specific version of a canvas app with colleagues or stakeholders can be done by sharing the app’s URL or its specific version URL.
5. Promoting a Version:
Promoting a version allows you to make a specific version the default version of your canvas app. This version will be opened by default when users access the app. To promote a version:
- Open the canvas app in Power Apps Studio.
- Click on the “File” tab and select “Details.”
- In the “Version history” section, select the version you want to promote.
- Click on the “Promote” button to make it the default version.
6. Managing Environment and Solution Versions:
In addition to canvas app versions, Power Platform provides features to manage environment and solution versions. Environment version represents the overall version of the environment, including canvas apps, flows, connections, and other components. Solution version represents the version of a specific solution that includes multiple canvas apps, flows, and other assets. These versions are useful when deploying canvas apps across different environments or configuring solution dependencies.
Conclusion:
Managing versions of canvas apps in Microsoft Power Platform App Maker is essential for effective development and maintenance. By utilizing the versioning features provided, developers can seamlessly create, track, publish, share, and promote different versions of canvas apps. This ensures smooth collaboration, aids in troubleshooting, and enables reverting to earlier versions if required. Keeping track of version history is crucial in an iterative development process, allowing developers to continuously improve canvas apps while maintaining stability and backward compatibility.
Answer the Questions in Comment Section
1. Which feature allows app makers to manage versions of their canvas apps in the Power Platform environment?
a) Version control
b) App versioning
c) App lifecycle management
d) App deployment
Correct answer: c) App lifecycle management
2. True or False: App versions can be cloned for further modification and testing purposes.
Correct answer: True
3. What happens when you publish a new version of a canvas app?
a) The previous version of the app is deleted.
b) The new version becomes the active version for all users.
c) The new version is only accessible to app makers for testing purposes.
d) The new version is saved as a draft and requires additional steps to activate.
Correct answer: b) The new version becomes the active version for all users.
4. Which component can be versioned in a canvas app?
a) Data sources
b) Screens
c) Controls
d) All of the above
Correct answer: d) All of the above
5. True or False: You can view and manage version details for a canvas app using Power Apps Studio.
Correct answer: True
6. How can you access the version history of a canvas app?
a) Through the Power Apps portal
b) Through the Advanced Settings menu in Power Apps Studio
c) Through the Canvas Apps tab in the Power Platform admin center
d) All of the above
Correct answer: d) All of the above
7. What is the purpose of the version comment when creating a new version of a canvas app?
a) It provides a description of the app’s functionality.
b) It serves as a reminder for the app maker to update the app.
c) It helps track changes and communicate updates to other app makers.
d) It determines the visibility of the app version to end users.
Correct answer: c) It helps track changes and communicate updates to other app makers.
8. Can multiple app makers collaborate on the same version of a canvas app simultaneously?
a) Yes, through simultaneous editing in Power Apps Studio.
b) No, only one app maker can work on a version at a time.
c) Yes, through branching and merging in version control systems.
d) No, collaboration is only supported for model-driven apps.
Correct answer: b) No, only one app maker can work on a version at a time.
9. True or False: You can revert to a previous version of a canvas app during runtime.
Correct answer: False
10. What is the purpose of the “Create a backup” option during the versioning process?
a) It allows app makers to revert to the previous version if necessary.
b) It creates a separate copy of the app version for archival purposes.
c) It automatically generates an app backup in case of data loss.
d) It triggers an automatic deployment of the app to a backup environment.
Correct answer: a) It allows app makers to revert to the previous version if necessary.
Great insight on managing versions! This is really helpful for the PL-100 exam prep.
How do you handle conflicts when two developers are working on different versions of the same canvas app?
Thanks for this detailed post!
How often should we publish new versions?
Excellent resource. Appreciate it!
Any tips on rolling back to a previous version without losing data?
I found this article quite confusing.
Is there a way to automate versioning with Power Automate?