是否可以在iccube中的不同模式上重用特定于模式的报告? [英] Is it possible to re-use schema specific reports on different schemas in iccube?

查看:82
本文介绍了是否可以在iccube中的不同模式上重用特定于模式的报告?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了连接到单个架构的标准仪表板.

I have created standard dashboards connected to a single schema.

现在,我想在不同的模式上重复使用相同的仪表板定义.这些架构都是等效的(相同的维度,度量,但不同的客户数据).

Now I would like to re-use the same dashboards definition on different schemas. These schemas are all equivalent (same dimensions, measures, but different client data).

这可能吗?

我想到了处理顺序:

  • 用户登录,仪表板连接到仪表板中定义的架构
  • 如果用户无权访问此架构,请连接到该用户有权访问的架构
  • 允许用户从他/她被授权的模式中进行选择

推荐答案

在使用javascript

You can do that when opening a report using the javascript API. Somehow, you would have an instance of ic3.Reporting.

var ic3reporting = new ic3.Reporting();

然后在打开报告之前,您可以注册一个事件以侦听收到其定义的事件:

Then before opening the report you can register an event to listen when its definition is received:

ic3reporting.bind(vizEventType.onReportJSON, function(ic3report){   
  ic3report.schemaName("..."); 
});

在回调函数中,您有机会更改此报告使用的架构的名称.

In the callback function you get the opportunity to change the name of the schema being used by this report.

这篇关于是否可以在iccube中的不同模式上重用特定于模式的报告?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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