transferring solution to servoy 4.0

Can someone point me to the right place or tell me how to easily transfer my Servoy solution (3.5.5) in to Servoy 4.0? I can’t find how to access the Repository → Import feature. The “open file” option on the FILE menu will open my .servoy file, but it’s all garbled.

thanks
bill

Hi Bill,

There is no import feature in the IDE itself (yet). You do need to use the servoy admin page (http://localhost:8080/servoy-admin/) after you launched the IDE.
Make sure you have setup the neccessery database connections your solution is using before you import it.

Hope this helps.

Hey guys

What if you want to import your solution into a different .db file? This was possible in Servoy 3.5, but apparently not in 4.0. Any ideas?

Thanks

Bevil

Hi Bevil,

Thunder:
What if you want to import your solution into a different .db file? This was possible in Servoy 3.5, but apparently not in 4.0.

Not sure what you mean with ‘importing into a .db file’. Importing into another repository ?

Hi Robert…

No I mean I want to export my solution from Servoy 3.5 to a .servoy file. In 3.5 it (the solution) uses a database file called koa.db (I guess regardless of the repository). I then want to import it into my Servoy 4.0 repository but ‘into’ or ‘using’ a database called interiors.db. This was possible in 3.5 (because the repository would complain and say ‘i can’t find a database called koa.db, choose another database to import into’, but in 4.0 it just fails…)

Thanks for your help…

Bevil

You can do 2 things:

  1. create a new server and database
  2. create a new server based on an existing database

If I am not mistaken Servoy created an easy tool to create a new database, don’t know where it is though…

This was possible in 3.5 (because the repository would complain and say ‘i can’t find a database called koa.db, choose another database to import into’, but in 4.0 it just fails…)

Hi bevil,

this is not possible at this moment, please look at my reply on the same question you posted in topic http://forum.servoy.com/viewtopic.php?f=11&t=11264#p56253
As soon as de DB exists, auto-creation of non-existing tables/columns still works in 4.0

I hope for someone of R&D to reply on this, so we know what to expect of this in 4.0.2 :)

p.s. I don’t know if it helps you, but I worked around this by importing a ‘strange’ solution into 3.5, choose ‘the other’ database, export the solution and import it into 4.0