Get a specific version of the App source code

Hi there, really hoping that someone can help out with this.

I am needing to pull the source code for a specific version of an application.
I know it possible to access the source code and copy it over to a new project space using the instructions found in the link below:

https://confluence.dimagi.com/display/commcarepublic/Copying+an+Application+between+Projects+or+Servers

However this only seems to be the latest version of the application. Is there someway to get access to the source code for a specific version?

For example the latest version of the app is 592 in the pic below I would like to access the source code for version 558?

@Simon_Kelly @Clayton_Sims @Ethan_Soergel @erobinson :slightly_smiling_face:

Any help would be appreciated,
Kind Regards,

Hi Calvin

You can do this by following the same process that is outlined on the wiki. The only difference is that you will use the ID of the application build.

You can get this ID by clicking on 'Publish' and then on 'Scan Application Barcode'. This will open up a dialog box with the barcode and text underneath that reads:

You can also click here in your mobile browser.

Right click on the word "here" and copy the link. In the link you will see the ID of the application build. Something like:

http://www.commcarehq.org/a/demo/apps/download/3795....ab16/media_profile.ccpr?profile=

You can then use that ID to construct the source URL:

https://www.commcarehq.org/a/demo/apps/source/3795....ab16
1 Like

Hi Simon, thats a great help thank you! Will give that a try.