Client side designer
Client side designer
I understand that there is no functionality to selectively give rights to parts of database to user in designer. Will there be one? I need to create application with designer embedded. It should only show some parts of database, some tables and even sometimes only smoe rows from table but still give functionality to create reports from such database.
Client side designer
Hello,
Thank you.
You can use your own dataset in report designer which you can form before. For also you can create some datasources, datarelations and connections in report dictionary and remove possibility to remove or add new items in report dictionary. So customers can use this items, but can't create new. If you need i can post you code which switch off some of gui in report designer.I understand that there is no functionality to selectively give rights to parts of database to user in designer. Will there be one? I need to create application with designer embedded. It should only show some parts of database, some tables and even sometimes only smoe rows from table but still give functionality to create reports from such database.
Thank you.
Client side designer
Vital wrote:Hello,
I would be grateful If You did. I understand that in such a case client won't be able to use query builder?If you need i can post you code which switch off some of gui in report designer.
Client side designer
Hello, Larusso.
Here is the code which hides some items from the Dictionary:
StiDictionaryPanelService service =
StiDictionaryPanelService.GetService();
// EndUser Restrictions
service.ShowActionsButton = false;
service.ShowEditButton = false;
service.ShowNewButton = false;
service.ShowDeleteButton = false;
service.ShowDownButton = false;
service.ShowUpButton = false;
service.ShowSortItemsButton = false;
And also it is important that this code is to be run before the designer instance have been created. You can place it for example,
in the Program.cs file before the main form of your Application was created.
and also take a look at the DesignerManagment sample application from the standard installation of Stimulsoft Reports.Net.
If you disable buttons for creating of the DataBases and DataSources then running of the QueryBuilder would be also not possible.
Thank you.
Here is the code which hides some items from the Dictionary:
StiDictionaryPanelService service =
StiDictionaryPanelService.GetService();
// EndUser Restrictions
service.ShowActionsButton = false;
service.ShowEditButton = false;
service.ShowNewButton = false;
service.ShowDeleteButton = false;
service.ShowDownButton = false;
service.ShowUpButton = false;
service.ShowSortItemsButton = false;
And also it is important that this code is to be run before the designer instance have been created. You can place it for example,
in the Program.cs file before the main form of your Application was created.
and also take a look at the DesignerManagment sample application from the standard installation of Stimulsoft Reports.Net.
If you disable buttons for creating of the DataBases and DataSources then running of the QueryBuilder would be also not possible.
Thank you.