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.
Reports.Java 2017.1.11 designer - default datasource
-
- Posts: 19
- Joined: Fri Sep 22, 2017 5:06 am
Re: Reports.Java 2017.1.11 designer - default datasource
Hello.
In StiWebDesignerOptions you can define connectionTypes, for example
In StiWebDesignerOptions you can define connectionTypes, for example
Code: Select all
options.getConnectionTypes().clear();
options.getConnectionTypes().add(StiJsonDatabase.class);