在报表中为icCube事件分配值 [英] Assigning a value to an icCube Event in Reporting

查看:77
本文介绍了在报表中为icCube事件分配值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  1. 我正在使用icCube 5.0报告
  2. 我想将一个Event的值分配给icCube MDX函数UserName()返回的值,就像@ {eventname} = UserName()一样.
  3. 最终,@ {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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆