Clone/Duplicate Applications
9021
Views
41
Comments
On our RadarOn our Radar
Service Studio

It would be nice to have an option to clone/duplicate an application in Service Studio in the application detail view like we have the option to edit and remove.

And also it would be nice to have the option to do the same to the modules inside but as an option.

It ever so often happens I need to clone an application. Currently, the basic procedure to clone an entire application is:
- Open each application module in Service Studio, clone it and publish.
- Go through each application module's clone and manage dependencies so they reference the other cloned modules instead of the original application's ones.
- Create new application and move cloned modules to new application.

The suggestion is: Provide some UI, either in Service Studio or Service Center, that automates this process for us. The developer would only need to press a button "Clone Application", and a new CloneOfApplication application would be generated.



Merged from 'Provide UI to clone Applications' (idea created on 2017-07-10 17:00:07 by Jorge Martins), on 2017-07-11 08:26:33 by Carlos Alfaro
Ability to copy an application rather than module by module.

Merged from 'Ability to copy an application' (idea created on 2014-09-24 12:22:16 by Miguel Vicente), on 2017-07-12 06:04:43 by J.
I think this already exists by creating an OSP file using the instructions here - https://www.outsystems.com/forge/ProjectUpload.aspx?ProjectId=0 - click on How do I export an Outsystems Application Package.

Merged from 'Ability to copy an application' (idea created on 2014-09-24 12:22:16 by Miguel Vicente), on 2017-07-12 06:04:43 by J.

Exporting an OAP allows you to share your application with others, so they can install it in other environments (IPP may apply), but it maintains application/module Ids. If you export a new version of the OAP (where some modules have been updated) and install it in an environment where you installed a previous version of the OAP, its modules will be overwritten.

This is the correct behaviour for Application Packages, but not good for the described use case, where we want to generate completely distinct applications/modules (different Ids) that happen to have the exact same content and relationships between themselves.

It would be great to be able to clone a whole application rather than each independent module.  When you have a correctly architected application this can mean huge numbers of clones and redefining references.



Merged from 'Clone Application' (idea created on 2017-11-24 00:14:45 by Daniel Asserati), on 2017-11-24 14:59:41 by Justin James
2016-04-21 20-09-55
J.
 
MVP
Merged this idea with 'Ability to copy an application' (created on 2014-09-24 12:22:16 by Miguel Vicente)

Absolutly agree!!  ++1

Any New Updated for that subject

Any update on this ?

2014-02-07 17-02-43
Vasco Pessanha

Hey Badr and Rajashekar,

Unfortunately we don't have plans to tackle this in the near future.

Nevertheless, we will keep this under our radar.

Cheers

Still a very wanted function to have.

It would be a very nice feature indeed, since the "clone-each-module-and-change-references" method is far from being flawless...

it's a great idea and it is less error prone.

Would be nice to have. 

My Vote for you :) +1

Merged this idea with 'Clone existing web apps/services' (created on 08 Jan 2020 10:14:40 by Lloyd Harlow Yap)

Nice to have if we can clone our existing apps/services in Outsystems Service Studio before modification/adding some features. This is to backup easily our work or maybe save it in a new version



This comment was:
- originally posted on idea 'Clone existing web apps/services' (created on 08 Jan 2020 by Lloyd Harlow Yap)
- merged to idea 'Clone/Duplicate Applications' on 17 Jan 2020 04:28:57 by Justin James

There already is the ability to clone modules, is there an aspect of that which isn't meeting your needs?

J.Ja



This comment was:
- originally posted on idea 'Clone existing web apps/services' (created on 08 Jan 2020 by Lloyd Harlow Yap)
- merged to idea 'Clone/Duplicate Applications' on 17 Jan 2020 04:28:57 by Justin James

As Justin already pointed out, you can already clone modules. 

Also OutSystems contains its own version control system, and on every click on 1-click-publish a new version in the VCS is created. You can always revert back to a previous version or compare versions.

Would that not helpy you with what you want to achive?



This comment was:
- originally posted on idea 'Clone existing web apps/services' (created on 08 Jan 2020 by Lloyd Harlow Yap)
- merged to idea 'Clone/Duplicate Applications' on 17 Jan 2020 04:28:57 by Justin James

What i meant was cloning of whole application (including core, sub modules, dependencies and etc.) not the modules alone.



This comment was:
- originally posted on idea 'Clone existing web apps/services' (created on 08 Jan 2020 by Lloyd Harlow Yap)
- merged to idea 'Clone/Duplicate Applications' on 17 Jan 2020 04:28:57 by Justin James

Ah, gotcha, makes sense! Yes, definitely a need for this. :)

J.Ja



This comment was:
- originally posted on idea 'Clone existing web apps/services' (created on 08 Jan 2020 by Lloyd Harlow Yap)
- merged to idea 'Clone/Duplicate Applications' on 17 Jan 2020 04:28:57 by Justin James

Just to add we'd like the option too

Yes, we definitely need this - would have saved a lot of time in multiple instances.

With workflow builder as a start point, this becomes more interesting to get on the radar.

2025-02-22 18-27-01
Alfaro
 
MVP
Merged this idea with 'Clone Applications and not just modules' (created on 17 Nov 2020 08:51:40 by Pedro Oliveira)

It would be very useful to be able to clone entire applications so when I need a replica from an application, it would be faster to do that instead of cloning all modules one by one.



This comment was:
- originally posted on idea 'Clone Applications and not just modules' (created on 17 Nov 2020 by Pedro Oliveira)
- merged to idea 'Clone/Duplicate Applications' on 18 Nov 2020 09:12:26 by Carlos Alfaro

Cloning the whole app will help when you are creating a POC or Test application and you need to setup a POC for a distinct scenario just by making some changes in the original POC.


Besides cloning the app in service studio, having the option of cloning using CLI (command line interface) would be valuable in automation scenarios.

Seriously, five years already!

Nothing on it yet?

I guess not or else it would be posted here, wouldn't you think?

I would love to have this ability.  It would be so useful for testing behaviour against an earlier version.  If you are working in a team it is not feasible to use a solution to switch current running versions.

Awaiting for this feature, about to get this done manually for second project.

Merged this idea with 'Add clone option for an application as like module clone' (created on 20 Jul 2023 13:55:54 by 亗『ARAVIND』亗)

Add clone option to the applications along with all the modules as well. 

It would be more helpful, when designing a new project architecture and application setup to create similar applications and modules.

I consider this also a very nice addtion to the platform..

Agree! clone application is very useful for POC / testing with application with many modules.

Agree to all above! Cole/Duplicate application can save a lot of time for developers for one application where old and new version have to run in parallel.

Agree clone application will be fine for testing and PoC

Agree to all above! 

Much needed please,  !

Cloning apps is also useful is scenarios were we have a common base, a set of entities , logic and screens that can be reused to build other applications based on the fundamental artifacts

However, we do not provide the capability of turning one or more applications into a template - Think of this as an accelerator:

A customer builds a couple of apps , containing several modules - they hold the generic entities, screens and logic - This is the accelerator

Them they would use this accelerator app as the template to create other apps , like we have currently on service studio 011 , but AFAIK , customer cannot create this kind of templates - They are limited to the usage of clones (which requires a lot of work to the development team).  Can we have this as an improvement to the platform ?

Notice that Outsystems O11 already provides a similiar feature - start from app , which basically is a set of templates (apps) to bootstrap/accelerare the creation of apps ... so the ideia of to provide the customer the ability to create their own template/acelerator apps and have a way to easily a quickly bootstrap new applications based on that template