Page 1 of 1

Diable new Report or Dashboard in Designer

Posted: Thu Oct 06, 2022 9:42 pm
by mwitzsche
Hello,

I would like to separate reports and dashboards. Is it possible to allow only reports or only dashboards in the designer and disable the other type.

Or second possibility, is it possible to add a custom button to the ribbon menu and then create the desired type.

For me it is important that reports and dashboards are not mixed in one file.

Thanks for the help
Michael

Re: Diable new Report or Dashboard in Designer

Posted: Fri Oct 07, 2022 8:10 am
by mwitzsche
I have now found a few clues in the examples myself. For example, "Saving and Loading a Report in the Designer". There the whole functionality for a dashboard is disabled. But I can't find any code that controls it. I find single functions to disable a menu item or a tab item. I think there is definitely a better way.
service.ShowFileReportSaveAs = false;
service.ShowFileDashboardNew = true;
service.ShowFileReportNew = false;
service.ShowFilePageNew = true;

Re: Diable new Report or Dashboard in Designer

Posted: Sun Oct 09, 2022 8:48 am
by Lech Kulikowski
Hello,

Unfortunately, there are no any other options for that task.

Thank you.