# Duplicating a solution

**URL:** https://forum.servoy.com/t/duplicating-a-solution/7117
**Category:** Classic Servoy
**Created:** [February 19, 2007, 10:29pm UTC](https://forum.servoy.com/t/duplicating-a-solution/7117 "2007-02-19T22:29:42Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![wbr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@wbr](https://forum.servoy.com/u/wbr)
#### Post date: [February 19, 2007, 10:29pm UTC](https://forum.servoy.com/t/duplicating-a-solution/7117/1 "2007-02-19T22:29:42Z")

</div>

I would like to duplicate the CRM example solution and use that as a starting point for a new solution, but I can’t make it work. I’ve tried “Import Clean”, but that forces me to duplicate style sheets and modules, which I don’t want to do - I want the new solution to reside in the repository next to the other solutions and use the existing styles & modules. If I “skip” the style & module dialogs, the new solution does not work. There must be a simple way to do this…

Thanks  
Bill

---

<div class="post-metadata">

### Author: ![rodneysieb](https://avatars.discourse-cdn.com/v4/letter/r/87869e/32.png) [@rodneysieb](https://forum.servoy.com/u/rodneysieb)
#### Post date: [February 20, 2007, 12:46am UTC](https://forum.servoy.com/t/duplicating-a-solution/7117/2 "2007-02-20T00:46:57Z")

</div>

Hi Bill

this post should cover what you need

> **[copying/duplicating solutions](https://forum.servoy.com/viewtopic.php?t=7059&highlight=)**
>
> Hi all I have completed my vertical market solution, and now want to use this existing solution as the basis for a new solution (i don't like reinventing the wheel). What are the steps to duplicating a solution (with a new name) with all forms,...

hope this helps

---

<div class="post-metadata">

### Author: ![wbr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@wbr](https://forum.servoy.com/u/wbr)
#### Post date: [February 20, 2007, 2:26am UTC](https://forum.servoy.com/t/duplicating-a-solution/7117/3 "2007-02-20T02:26:48Z")

</div>

Thanks, I saw that post when looking for answers. Unfortunately it doesn’t give me any new information.

I still can’t duplicate a solution without duplicating all the styles and modules as well. I don’t want to duplicate anything but the main solution.

Bill

---

<div class="post-metadata">

### Author: ![DomTom](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@DomTom](https://forum.servoy.com/u/DomTom)
#### Post date: [February 20, 2007, 8:16am UTC](https://forum.servoy.com/t/duplicating-a-solution/7117/4 "2007-02-20T08:16:08Z")

</div>

Are you working on Mac or on Windows computer ?

DomTom.

---

<div class="post-metadata">

### Author: ![wbr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@wbr](https://forum.servoy.com/u/wbr)
#### Post date: [February 20, 2007, 8:53am UTC](https://forum.servoy.com/t/duplicating-a-solution/7117/5 "2007-02-20T08:53:16Z")

</div>

Working on a Mac.

Here’s what happens: When I do a “clean import” of the servoy\_sample\_crm.servoy file, skipping the renaming of styles and modules, I get what looks like a new solution based on the old one. But it doesn’t work correctly. Elements are missing from the interface, and it takes almost 10 minutes to open the new solution (vs 30-60 seconds to open the original crm solution).

I even tried exporting the original crm and then reimporting (clean), but I get the same results.

---

<div class="post-metadata">

### Author: ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)
#### Post date: [February 20, 2007, 9:10am UTC](https://forum.servoy.com/t/duplicating-a-solution/7117/6 "2007-02-20T09:10:55Z")

</div>

Hi Bill,

This is because of the very nature of using modules.  
The main solution uses a core module that contains the image media and some general purpose methods that in turn are used in the main solution.  
So when you copy only the main solution you end up with loose ends.

---

<div class="post-metadata">

### Author: ![DomTom](https://avatars.discourse-cdn.com/v4/letter/d/958977/32.png) [@DomTom](https://forum.servoy.com/u/DomTom)
#### Post date: [February 20, 2007, 6:28pm UTC](https://forum.servoy.com/t/duplicating-a-solution/7117/7 "2007-02-20T18:28:40Z")

</div>

You will find annexed a small procedure I use to do it.

DomTom

[MacCreateDbConn&ImportSolution.doc](https://forum.servoy.com/uploads/short-url/zalwioOOdQuIZfMZe1hr0A7jE7M.doc) (5.13 KB)

[MacCreateDbConn&ImportSolution.doc](https://forum.servoy.com/uploads/short-url/zalwioOOdQuIZfMZe1hr0A7jE7M.doc) (5.13 KB)

---

<div class="post-metadata">

### Author: ![wbr](https://avatars.discourse-cdn.com/v4/letter/w/b3f665/32.png) [@wbr](https://forum.servoy.com/u/wbr)
#### Post date: [February 24, 2007, 9:36pm UTC](https://forum.servoy.com/t/duplicating-a-solution/7117/8 "2007-02-24T21:36:56Z")

</div>

Thanks all for the feedback.

Roclasi wrote:

> So when you copy only the main solution you end up with loose ends.

But the solution I’m copying still has the servoy core module referenced in the modules list, even after the clean import skipping style/module renaming. And isn’t that the whole point of modules - so you can reuse a single module for multiple solutions? Maybe I’m misunderstanding modules.

Thanks Domtom for the instructions. I’m shocked that this is what is reqired to duplicate a solution.

I’m finding project management to be the weakest part of Servoy. Duplicating solutions, moving solutions, switiching solutions, multiple developers, repointing db connections - these are all things that are a major PITA with Servoy. Coming from Filemaker, I thought the actual development would be the hard part. But I get that - tab panels, sql, javascript - no problem. What I find to be incredibly clumsy is having to wrestle Servoy so that my consultancy can easily get new customers’ projects started and integrated on our servers, using components and “starters” from previous projects.

With Filemaker it’s a no-brainer: Copy the main solution file, rename it, open it with server, done. Even with our web/php projects, it’s as simple as duplicating a folder.

I would love to see the Servoy repository window fleshed out into a project management tool, allowing us to easily duplicate & move solutions, define & repoint db connections, and define module references. And somewhere there should be an interface for definining a list of regularly used repositories with the ability to quickly switch from one to another. Also nice would be the ability to copy a solution from one repository directly to another.

If I’m wrong about any of this and missing something vital, I would love to be enlightened.

wbr
