These limits should not be changed since they were explicitly created and defined with these values to avoid exceptions and prevent instability. It is not a supported scenario if these limits are modified, but technically they can be adjusted for testing purposes. These settings can be adjusted by explicitly adding the corresponding nodes to the Spotfire.Dxp.Main.dll.config file, which is located here:
- ...\TIBCO\Spotfire\X.X.X\Modules\Spotfire DXP Forms_XXXXXX\Spotfire.Dxp.Main.dll.config
Within the <applicationSettings> node, add a <Spotfire.Dxp.Data.Properties.Settings> node like the following:
<applicationSettings>
...
<Spotfire.Dxp.Data.Properties.Settings>
<setting name="ExpressionParser_MaxNestingDepth" serializeAs="String">
<value>4000</value>
</setting>
<setting name="ExpressionParser_MaxTreeHeight" serializeAs="String">
<value>400</value>
</setting>
</Spotfire.Dxp.Data.Properties.Settings>
...
</applicationSettings>
This will make it possible to replace the default values of 4000 and 400 for these settings with other values.
Warning: Increasing these limits is not a supported scenario.
Warning: Increasing these limits may lead to stability issues. These include, but are not limited to, stack overflow errors.