我是靠谱客的博主 谦让汽车,最近开发中收集的这篇文章主要介绍Data Access Control in Brio,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

    I'd like to call it Brio rather than Interactive Reporting. I have some kind of thinkging that Oracle, this company, sometimes likes to buy a company and then destroy it.That's why I'd like to use the word Brio. Before going to the point, I want to say a little about my predecessor, and it's him who has brought me to this field-BI. His boss made Brio, the whole Hyperion solution, come into China and be used for OLAP analysis. My predecessor Mr. Liu said that version 6.x was best in use, but after Oracle had takenover the company, many bugs occured...
    We can do data access control in Brio. It is our usual practice to type the URL in IE, than we press Enter or click go as to open a BQY. So first of all, we have to get some parameters we need in this URL. Then according to the parameters we will know what role is logining in and finally we are able to show the user what he/she can see or what he/she can do to this BQY in the system.
    So how to get parameters in the URL. We use Sesssion. For example, there is an URL like this,

http://10.200.48.4:19000/workspace/browse/get/BQY/cube/%e5%ae%a2%e6%b5%81%e9%87%8f%e5%88%86%e6%9e%90.bqy?user=user&pass=pass&roletype=A&module_id=000002&JScript=enable&REQUEST_TYPE=GET_DOCUMENT."http://10.200.48.4:19000/workspace/browse/get/BQY/cube/%e5%ae%a2%e6%b5%81%e9%87%8f%e5%88%86%e6%9e%90.bqy" is the BQY address in workspace. We have a portal system(Java EE). There is a link in the portal, and when we click the link, it is actually we have clicked the above URL.Naturally parameters have routed. We can use Session.URL["parameter name"] to get a certain parameter. For example, to get role type we can use a variable to get it, var role_type = Session.URL["roletype"]. The session concept appears in Java EE too.
    Now suppose a user(some role) can only see and query Shanghai's sales(只允许看见并查询上海的销售额), what would we set to Brio? In the place section(有一个地区的区), we can add a filter, this filter uses CustomSQL to slice the place. Codes are as follows,

Then we can fill in the controls in EIS section, so that user can only see the place Shanghai's sales.
Here we have to notice how to use variables in a CustomSQL string. It's quite simple. We only have to use the plus sign(+) to form an SQL string. Then it's OK!

最后

以上就是谦让汽车为你收集整理的Data Access Control in Brio的全部内容,希望文章能够帮你解决Data Access Control in Brio所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(49)

评论列表共有 0 条评论

立即
投稿
返回
顶部