环境:BIEE11.1.1.7...
背景:
经常会碰到有TX问怎么通过URL改变会话变量值的问题。下面假设需要配置‘SV_Month’会话变量,讲解下步骤:
1、在PRD中配置会话变量 SV_Month
2、在以下路径(oracle_BI1\bifoundation\web\display\)查找Authenticationschemas.xml
3、编辑Authenticationschemas.xml,找到以下部分新增相应配置项
<!--Group for HTTP POST Login-->
<AuthenticationSchemaGroup>
<RequestVariable Source="url" type="informational" nameInSource="SV_Month" biVariableName="NQ_SESION.SV_Month">
......
</AuthenticationSchemaGroup>
修改或者添加上面代码中的带有 SV_Month 的那行即可。
4、在需要修改的src或者重定向的URL后面按照规则正常传递参数值,最后拼接以下字符串“&relogon=1”