Page 1 of 1

Hide SQL connections

Posted: Fri Jan 12, 2018 4:43 pm
by Enrique
Hello.

We are building a web reporting application using your components with predefined datasources. We want to allow the users to create connections only in the "Objects" category (create a new datasource from a existing one) and hide the others, specially the "SQL" datasources.

Can we configure this scenario using the StiMvcDesignerOptions class?. If not, please, can you include this functionality in future revisions?.

Regards,
Enrique.

Re: Hide SQL connections

Posted: Mon Jan 15, 2018 10:30 am
by Alex K.
Hello,

You can use the following option:
StiOptions.Services.Databases.Clear();

Thank you.