在报表中为icCube事件分配值 [英] Assigning a value to an icCube Event in Reporting
本文介绍了在报表中为icCube事件分配值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
- 我正在使用icCube 5.0报告
- 我想将一个Event的值分配给icCube MDX函数UserName()返回的值,就像@ {eventname} = UserName()一样.
- 最终,@ {eventname:reportParm}将被发送到启动的报表中,以供在过滤器中使用.
有人对我有什么提示吗?
Does anyone have any hints for me?
推荐答案
没有干净的方法(已经在待办事项列表)
There is no clean way (already in todo list)
暂时没有干净的方法.您必须在您调用的配置/常量"中创建一个常量-不是事件-
For the time being there is no clean way. You've to create a Constant - not an event - in Configuration/Constants that you call for example
ic3c-userName
分配一个JavaScript表达式
Assign a javascript expression
:ic3reporting.context_.userInfo().name()
因此,您现在有了一个事件,您可以使用用户名作为值.
So you've now an event with the name of the user as value you can use.
这篇关于在报表中为icCube事件分配值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文