How to copy a project using the Mendix SDK

1
Hi, I'm looking on how to create a new project which would be a copy of an existing project using the platform SDK. Any ideas of how this can be done? Best regards, Daniel Serva
asked
2 answers
1

Hi Daniel,

 

Are you looking to just create a new version of an application on a different repository? 

If so this can be achieved using the projects API and uploading an app to the appstore.

  1. Export your model
  2. Create a new appstore starter app
  3. Get the UUID for the app, this can be found using chrome dev tools or asking support.
  4. Use this API to create a new project using the template you uploaded to the appstore https://docs.mendix.com/apidocs-mxsdk/apidocs/projects-api

 

You can of course use the model SDK to do what you mention, i just don’t know how off the top of my head.

 

Regards

Simon

answered
1

You could generate all SDK code from old project to create an exact copy and run it into a new project: https://docs.mendix.com/apidocs-mxsdk/mxsdk/generating-code-from-the-model

answered