references to svy_framework

I understand that stand-alone deployment only works with 1 database. So I imported the sampleuse_navigation tables into my application database.

The framework code contains many references to the original svy_framework database. I assume I need to ‘fix’ those and can think of 2 approaches …

  1. change svy_framework to <my application database’s name> wherever it appears (including ‘type’ references like /** @type {JSFoundsetdb:/svy_framework/sec_table_filter} */).

  2. use the svy_framework database for my application data.

Is there a better approach?

fredc:
Is there a better approach?

It is also possible to let the framework switch to another database by providing an argument in the deeplink you use to start it:

The framework can switch to a different database depending on the deeplink that is used. Both the user database and the framework database can be switched, also making it possible to use one database for both. The deeplink will look something like this: http://<server_ip>:/servoy-client/ss/s/<solution_name>.jnlp?a=<owner_id>|<user_database>|<framework_database>. The arguments can be omitted from right to left, so if you specify the user_database, you should also specify the owner_id.

So in your case, you can just provide your application database name for both the user_db and the framework_db.