cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
khaledhikmat
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

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

26 REPLIES 26
AndyPennell
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.

 

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

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.

 

 

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. 

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

 

Anonymous
Not applicable

@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).

 

DavePotts_BritE
Advocate III
Advocate III

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

marisanchez
Regular Visitor

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

Anonymous
Not applicable

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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,710)