cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
khaledhikmat
Level: Powered On

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
PowerApps Staff rc
PowerApps Staff

Re: How do we source control PowerApps code?

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

9 REPLIES 9
PowerApps Staff AndyPennell
PowerApps Staff

Re: How do we source control PowerApps code?

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.

 

khaledhikmat
Level: Powered On

Re: How do we source control PowerApps code?

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

PowerApps Staff rc
PowerApps Staff

Re: How do we source control PowerApps code?

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

khaledhikmat
Level: Powered On

Re: How do we source control PowerApps code?

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. 

BrianSlalomMS
Level: Powered On

Re: How do we source control PowerApps code?

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

 

Re: How do we source control PowerApps code?

@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
Level: Powered On

Re: How do we source control PowerApps code?

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

marisanchez
Level: Powered On

Re: How do we source control PowerApps code?

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

Re: How do we source control PowerApps code?

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
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 131 members 3,246 guests
Please welcome our newest community members: