Permanently Overriding the Auto-Submit Option
This feature only applies to reports that are published to the BI Server.
Ordinarily the presence of the auto-submit option is determined when designing the
report, simply by selecting the option in the Master Report's Attributes pane in
Report Designer. However, if you want to permanently enable or disable this option
and set a static value for all published reports, you must use the autoSubmit
URL parameter, which you can force a value for through the plugin.xml
configuration file.
-
Stop the BI Server process or service.
/home/pentaho/pentaho/biserver-ee/stop-pentaho.sh
-
Open the /pentaho/server/biserver-ee/pentaho-solutions/system/reporting/plugin.xml
with a text editor.
vim /home/pentaho/pentaho/server/biserver-ee/pentaho-solutions/system/reporting/plugin.xml
-
Find the RUN id and add an autoSubmit=false (or true, if you want
to set this feature to always submit the parameter) parameter to the front of
the URL in the command element, as shown below:
<operation>
<id>RUN</id>
<command>content/reporting/reportviewer/report.html?autoSubmit=false&solution={solution}&path={path}&name={name}</command>
</operation>
-
Save and close the file, then start the BI Server process or service.
/home/pentaho/pentaho/biserver-ee/start-pentaho.sh
The auto submit checkbox will now always appear or not appear in rendered reports,
depending on the value you chose.