Hide SQL connections

Stimulsoft Reports.WEB discussion
Post Reply
Enrique
Posts: 6
Joined: Fri Jul 29, 2016 3:09 pm

Hide SQL connections

Post 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.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Hide SQL connections

Post by Alex K. »

Hello,

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

Thank you.
Attachments
photo_2018-01-15_13-29-19.jpg
photo_2018-01-15_13-29-19.jpg (37.72 KiB) Viewed 1040 times
Post Reply