Page 1 of 1

Reports.Java 2017.1.11 designer - default datasource

Posted: Fri Sep 22, 2017 10:53 am
by s.wieczorek
Hi,
How can i set a default datasource (JSON or MongoDB if available) when opening a designer. I want to add a certain amount of datasources and block user to add a custom one.

Re: Reports.Java 2017.1.11 designer - default datasource

Posted: Mon Sep 25, 2017 12:18 pm
by Vadim
Hello.
In StiWebDesignerOptions you can define connectionTypes, for example

Code: Select all

options.getConnectionTypes().clear();
options.getConnectionTypes().add(StiJsonDatabase.class);