Hitachi Vantara Pentaho Community Wiki
Access Keys:
Skip to content (Access Key - 0)

Parameters in xactions are sent via GET-Method by default.

To enable POST-Method one has to make changes to the following files (which can be found in pentaho-solutions/system/custom/xsl):

DefaultParameterForm.xsl

Change <xsl:variable name="USEPOSTFORFORMS" select="'false'" />
to <xsl:variable name="USEPOSTFORFORMS" select="'true'" />

ParameterFormUtil.xsl

Change

[...]
<form>
<xsl:if test="$USEPOSTFORFORMS='true'">
<xsl:attribute name="method">post</xsl:attribute>
<xsl:attribute name="target">_blank</xsl:attribute>
<xsl:attribute name="action">ViewAction</xsl:attribute>
</xsl:if>
[...]

to

[...]
<form>
<xsl:if test="$USEPOSTFORFORMS='true'">
<xsl:attribute name="method">post</xsl:attribute>
<xsl:attribute name="target">_self</xsl:attribute>
<xsl:attribute name="action">ViewAction</xsl:attribute>
</xsl:if>
[...]

Refresh the repository and all parameters should be sent via POST-Method.


This documentation is maintained by the Pentaho community, and members are encouraged to create new pages in the appropriate spaces, or edit existing pages that need to be corrected or updated.

Please do not leave comments on Wiki pages asking for help. They will be deleted. Use the forums instead.

Adaptavist Theme Builder Powered by Atlassian Confluence