Disable Open from Google Docs in menu

Stimulsoft Reports.WEB discussion
Oaktree
Posts: 25
Joined: Wed Apr 28, 2010 8:53 am

Disable Open from Google Docs in menu

Post by Oaktree »

Is there an option to disable the new Open from Google Docs option in the menu in the latest release build?

We don't allow our customers to access the mrt files in any manner so the Google Docs option would be confusing to them.
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Disable Open from Google Docs in menu

Post by Ivan »

Hello,

Please try to set the following options:

Code: Select all

StiOptions.Designer.MainMenu.ShowFileReportOpenFromGoogleDocs = false;
StiOptions.Designer.MainMenu.ShowFileReportSaveAsToGoogleDocs = false;
StiOptions.Designer.Ribbon.ShowMainMenuReportOpenFromGoogleDocs = false;
StiOptions.Designer.Ribbon.ShowMainMenuReportSaveAsToGoogleDocs = false;
Thank you.
Oaktree
Posts: 25
Joined: Wed Apr 28, 2010 8:53 am

Disable Open from Google Docs in menu

Post by Oaktree »

I am sorry. I should have been more specific.

I do not see the option for the Web Designer.

I'm looking in the StiWebDesignerOptions.MainMenu options where the other values can be disabled, but I do not see one for Google Docs.

Thanks.
Anton Lozovskiy
Posts: 135
Joined: Tue Aug 11, 2009 9:38 am

Disable Open from Google Docs in menu

Post by Anton Lozovskiy »

Hello,

Which version of Reports Designer do you use? WinForms, Wpf, Flex or Silverlight?

Thank you.
Oaktree
Posts: 25
Joined: Wed Apr 28, 2010 8:53 am

Disable Open from Google Docs in menu

Post by Oaktree »

We use the flash based designer (Flex I think).

Declarations below:
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Disable Open from Google Docs in menu

Post by HighAley »

Hello.
Oaktree wrote:We use the flash based designer (Flex I think).

Declarations below:
Ability to disable Google Docs options in the menu of Designer.Web will ba available in our nearest prerelease 2011.3

Thank you.
Oaktree
Posts: 25
Joined: Wed Apr 28, 2010 8:53 am

Disable Open from Google Docs in menu

Post by Oaktree »

I see the new main menu options in the latest release, but they do not affect anything. Other settings stopped working as well.

These are the main menu options we use and their status:
StiWebDesignerOptions.MainMenu.ShowSaveAs = False <-- Does nothing
StiWebDesignerOptions.MainMenu.ShowNewReport = False <-- Does nothing
StiWebDesignerOptions.MainMenu.ShowOpenReport = False <-- Does nothing
StiWebDesignerOptions.MainMenu.ShowPreview = False <-- Works
StiWebDesignerOptions.MainMenu.ShowExitButton = False <-- Does nothing
StiWebDesignerOptions.MainMenu.ShowClose = False <-- Does nothing
StiWebDesignerOptions.MainMenu.ShowOpenReportFromGoogleDocs = False <-- Does nothing
StiWebDesignerOptions.MainMenu.ShowSaveAsToGoogleDocs = False <-- Does nothing



HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Disable Open from Google Docs in menu

Post by HighAley »

Hello.
Oaktree wrote:I see the new main menu options in the latest release, but they do not affect anything. Other settings stopped working as well.

These are the main menu options we use and their status:
StiWebDesignerOptions.MainMenu.ShowSaveAs = False <-- Does nothing
StiWebDesignerOptions.MainMenu.ShowNewReport = False <-- Does nothing
StiWebDesignerOptions.MainMenu.ShowOpenReport = False <-- Does nothing
StiWebDesignerOptions.MainMenu.ShowPreview = False <-- Works
StiWebDesignerOptions.MainMenu.ShowExitButton = False <-- Does nothing
StiWebDesignerOptions.MainMenu.ShowClose = False <-- Does nothing
StiWebDesignerOptions.MainMenu.ShowOpenReportFromGoogleDocs = False <-- Does nothing
StiWebDesignerOptions.MainMenu.ShowSaveAsToGoogleDocs = False <-- Does nothing
Do you use our latest assemblies in your project?
This options works. Please, see attached image.

Thank you.
Attachments
1356.Untitled.png
1356.Untitled.png (35.43 KiB) Viewed 3031 times
Oaktree
Posts: 25
Joined: Wed Apr 28, 2010 8:53 am

Disable Open from Google Docs in menu

Post by Oaktree »

This was with the SW_2011.10.06_Trial DLLs. Version 2011.3.1102.0.

We reference the following DLLs:

Stimulsoft.Base
Stimulsoft.Report
Stimulsoft.Report.Web
Stimulsoft.Report.WebDesign

Is there a new dependency that we are missing or something that must be stored inside the mrt file for the options to work (all the reports were created 5 months ago)?

Alternately, do the settings have to be processed in a certain order now? We set all the settings during the Page.PreInit event before we load the reports.

I had issues earlier in the day with the project referencing the latest release build even though I used the Installer to uninstall the DLLs from NGEN / Assembly. I ended up having to uninstall the release build through control panel for Visual Studio 2010 to use the latest prerelease DLLs over the release DLLs that I no longer referenced. Could that be related? We use the .NET 4.0 Framework if that makes any difference.

Clearing my browser cache in case it was an issue related to flash did not affect anything.
Attachments
1359.menu.jpg
1359.menu.jpg (30.98 KiB) Viewed 3017 times
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Disable Open from Google Docs in menu

Post by HighAley »

Hello.

We've reproduced your issue. The fix will be in our next prerelease build tomorrow.

Thank you.
Post Reply