No data in example database

Q&A regarding installation and issues getting started with Servoy

No data in example database

Postby malaodin » Mon Apr 04, 2022 12:03 am

Hi there,

there is no data available in the example database. I cannot find any .sql, .csv,... file.
How can I get the data into the database.

best regards
Marek
malaodin
 
Posts: 7
Joined: Fri Apr 01, 2022 1:08 pm

Re: No data in example database

Postby sanneke » Mon Apr 04, 2022 10:03 am

Hi Marek,

During the installation of Servoy developer you will be asked if you want to install sample databases including data. For more information about the installation, I would watch this video: https://youtu.be/UHSRzMVwEpA

Regards Sanneke
Attachments
Downloading & Installinge.png
Downloading & Installinge.png (328.31 KiB) Viewed 3456 times
Sanneke
Yield Software Development: Need help on your project?
yieldsd.com
User avatar
sanneke
 
Posts: 383
Joined: Thu Jun 15, 2006 9:20 am
Location: Amersfoort

Re: No data in example database

Postby sean » Mon Apr 04, 2022 4:23 pm

Hi Marek,

Welcome to Servoy!

You should be able to install the example application from the package manager.

1. Help > Download/Install with Servoy Package Manager

2. Click the far right nav link "Solutions"

3. Choose "Sample Application"

This will install the sample application and load the sample data. Note: You must have a database connection configured called "example_data" per Sanneke's advice above. If you don't have Postgresql installed at all, then I recommend that you reinstall and be sure that you choose the option to install the database.
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: No data in example database

Postby malaodin » Wed Apr 06, 2022 4:50 am

Hello sean,

thanks for your answer!
I installed the sample application with the installation of the servoy development environment. The cloudSampleSolution is available. Also the example_data database under Database_Servers. But the database has no data in it.
Is there a way to load the data?

I will try to delete the cloudSampleSolution and see if a new install of the "Sample Application" solves the problem.

best regards
Marek
malaodin
 
Posts: 7
Joined: Fri Apr 01, 2022 1:08 pm

Re: No data in example database

Postby malaodin » Wed Apr 06, 2022 5:36 am

Hello sean,

I installed the solution via package manager and it said "import data" but still no data in example_data.
I did the install with the cloudSampleSolution already installed. I can't see how I can delete the solution.

best regards
Marek
Last edited by malaodin on Fri Apr 08, 2022 9:32 am, edited 1 time in total.
malaodin
 
Posts: 7
Joined: Fri Apr 01, 2022 1:08 pm

Re: No data in example database

Postby sean » Wed Apr 06, 2022 6:25 pm

Hi Marc,

I'm sorry that it is still causing trouble. The sample data import is skipped if there are any records already in the database. I don't know why that would be the case, but it is probably easiest to just reinstall Servoy Developer. Be sure to completely remove the previous installation directory.

...or you can always install to a new directory.

Best,
Sean
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA

Re: No data in example database

Postby malaodin » Fri Apr 08, 2022 9:36 am

Hello Sean,

install into a different directory also didn't work.
Honestly its not clear to me why there is not a separate package available to import the data into the database.
This would also be beneficial if someone has played around with the data to get the initial state back.

best regards
Marek
malaodin
 
Posts: 7
Joined: Fri Apr 01, 2022 1:08 pm

Re: No data in example database

Postby malaodin » Sat Apr 09, 2022 9:08 am

Hi Sean,

after a new install on my Windows 10 machine it worked.

Thanks & cheers
Marek
malaodin
 
Posts: 7
Joined: Fri Apr 01, 2022 1:08 pm

Re: No data in example database

Postby sean » Mon Apr 11, 2022 1:30 am

Hi Marek, I'm sorry that there was trouble getting started. Glad you got it working. Good luck!
Software Engineer
Servoy USA
sean
 
Posts: 370
Joined: Mon May 21, 2007 6:26 pm
Location: USA


Return to I'm just getting started

Who is online

Users browsing this forum: No registered users and 2 guests