cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate III
Advocate III

How do we source control PowerApps code?

Ho, how do we source control PowerApps code? Is there way to export the code into something that can be checked in to a source control system?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

We are indeed working on ways to make it easier to collaborate with others on the same app and do better lifecycle management for apps as you take them from develompent to testing to production. There are already some basic features around restoring apps to previous versions, and you can expect features in this area to get more mature.

 

That said, we're currently focused on helping people build apps without code, so classic source control methods like git are not part of those near-term plans. There's some richer background on that in this discussion if you're interested in going deeper.

 

 

View solution in original post

12 REPLIES 12
Highlighted
Power Apps
Power Apps

Not usefully, no. You could check in the .msapp files themselves of course (as binaries), but as they aren't text files you couldn't merge them if edited by multiple users at once.

 

Highlighted

Ok...thank you! Is this likely to change?

Highlighted

We are indeed working on ways to make it easier to collaborate with others on the same app and do better lifecycle management for apps as you take them from develompent to testing to production. There are already some basic features around restoring apps to previous versions, and you can expect features in this area to get more mature.

 

That said, we're currently focused on helping people build apps without code, so classic source control methods like git are not part of those near-term plans. There's some richer background on that in this discussion if you're interested in going deeper.

 

 

View solution in original post

Highlighted

Yeah...ok...thank you for the clarification. I guess I was naively thiking that PowerApps apps can be described as JSON file or something similar so I can export them and add to my source control. But reading that post you mentioned above, it seems it is all binary stuff. 

Highlighted

@rcprovides a link for restoring Canvas apps to previous versions. 

How can we do the equivalent for Model-driven apps?

There is no such option in the UI for Model-driven apps.

 

Highlighted
Resolver I
Resolver I

@khaledhikmat, What you might have explored is "Export" Feature which can allow you to export your app in zip format. I observed a creepy difference in the exported file when I imported the package. 

Certain formulas and a complete screen was missing when I finally ended up importing.  So as of now, it would be hard for you to version control as well as backup your app code (whatever less it is).

 

Highlighted
Advocate III
Advocate III

Any update on source control options for PowerApps since this thread started?

Highlighted
Regular Visitor

I know it is a two year old question, but, are there any formal plans to make this happen?

Highlighted

I do not see any reliable automation solution in function as of now. We are just manually exporting *.msapp file of the the application nightly and pushing it in SCM. 

 

For whole day, we depend on PowerApps Versions system.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (8,352)