I’m trying to figure a smooth way to duplicate a solution and link this duplicate to a new server.
something equivalent to the clean import followed by a replace table of the old servoy 3.
I managed to duplicate a solution by creating a blank new solution and then copying the files from my source solution in the servoy workspace folder. It works but I wonder if there is a cleaner way to do it.
Replacing the server seems a bit tricky. The Replace Table function of Servoy 4 doesn’t help much since it can only replace on table at a time.
The only way I found was to do a search and replace on the obj files of my solution in the workspace, but it did not work.
I have a solution which is fairly generic. As I repurposed it in 3.5 to cater to different needs, I would export it, create a new .db file and import the solution with its original .db disabled. It would complain that it couldn’t find the database and offer to import into another database. With Servoy 4.0, it simply says it can’t find the original database and fails to import. How do I force Servoy 4.0(.1) to import a solution into a different database??
How do I force Servoy 4.0(.1) to import a solution into a different database??
As far as I know this is not possible at the moment.
I know there have been requests at Servoy World, but I don’t know if this has been picked up by R&D yet?
Maybe anyone of Servoy who can tell this?
Otherwise you might want to file a case for this…
Clean import is allready implemented in Servoy 4 ( using servoy admin page). About server rename i see that table rename does not support the "all tables " option as in 3.5. You can file a feature request about this. Until that you can use the table rename in 3.5, export it than import it in 4.0 .