获取仪表板名称

时间:2014-06-02 08:13:05

标签: sql oracle obiee

我想在Oracle BI中编写一个能够识别不同仪表板名称的代码。

我知道OBI中有一个“演示变量系统”,我可以从仪表板中获取不同的信息。我在网站上找到了一个例子,他们就这样解决了这个问题:

@ {dashboard.currentPage}

这对我不起作用。

1 个答案:

答案 0 :(得分:2)

你想:

@{dashboard.currentPage}
@{dashboard.caption}

enter image description here

要使变量起作用,您显然需要在作为仪表板一部分的对象上查看它。

有关系统演示文稿变量及其当前值的完整列表,请将以下内容放在“静态文本”视图中。勾选"包含HTML标记"。

[u][b]Predefined Presentation Variables
[/b][/u][br/]
<p align="left">
[b]analysis.report.currency.name:[/b]    @{analysis.report.currency.name}[br/]
[b]analysis.report.currency.symbol:[/b]    @{analysis.report.currency.symbol}[br/]
[b]analysis.report.currency.userPreference:[/b]    @{analysis.report.currency.userPreference}[br/]
[b]dashboard.currentPage.currency.name:[/b]    @{dashboard.currentPage.currency.name}[br/]
[b]dashboard.currentPage.currency.userPreference:[/b]    @{dashboard.currentPage.currency.userPreference}[br/]
[b]dashboard.currentPage.currency.symbol:[/b]    @{dashboard.currentPage.currency.symbol}[br/]
[b]dashboard.currentPage:[/b]    @{dashboard.currentPage}[br/]
[b]dashboard.currentPage.currency.symbol.name:[/b]    @{dashboard.currentPage.currency.symbol.name}[br/]
[b]dashboard.currentPage.currency.symbol.path:[/b]    @{dashboard.currentPage.currency.symbol.path}[br/]
[b]dashboard.author:[/b]    @{dashboard.author}[br/]
[b]dashboard.caption:[/b]    @{dashboard.caption}[br/]
[b]dashboard.currency.name:[/b]    @{dashboard.currency.name}[br/]
[b]dashboard.currency.symbol:[/b]    @{dashboard.currency.symbol}[br/]
[b]dashboard.currency.userPreference:[/b]    @{dashboard.currency.userPreference}[br/]
[b]dashboard.description:[/b]    @{dashboard.description}[br/]
[b]dashboard.location:[/b]    @{dashboard.location}[br/]
[b]dashboard.name:[/b]    @{dashboard.name}[br/]
[b]dashboard.path:[/b]    @{dashboard.path}[br/]
[b]dashboard.xml:[/b]    @{dashboard.xml}[br/]
[b]session.currency.name:[/b]    @{session.currency.name}[br/]
[b]session.currency.symbol:[/b]    @{session.currency.symbol}[br/]
[b]session.currency.userPreference:[/b]    @{session.currency.userPreference}[br/]
[b]session.currentUser:[/b]    @{session.currentUser}[br/]
[b]session.language:[/b]    @{session.language}[br/]
[b]session.lastAccessTime:[/b]    @{session.lastAccessTime}[br/]
[b]session.locale:[/b]    @{session.locale}[br/]
[b]session.loginTime:[/b]    @{session.loginTime}[br/]
[b]session.logoutTime:[/b]    @{session.logoutTime}[br/]
[b]session.rtl:[/b]    @{session.rtl}[br/]
[b]session.timeZone:[/b]    @{session.timeZone}[br/]
[b]session.timeZone.id:[/b]    @{session.timeZone.id}[br/]
[b]session.timeZone.name:[/b]    @{session.timeZone.name}[br/]
[b]session.timeZone.value:[/b]    @{session.timeZone.value}[br/]
[b]system.currentTime:[/b]    @{system.currentTime}[br/]
[b]system.productVersion:[/b]    @{system.productVersion}[br/]
[b]user.displayName:[/b]    @{user.displayName}[br/]
[b]user.homeDirectory:[/b]    @{user.homeDirectory}[br/]
[b]user.id:[/b]    @{user.id}[br/]</p>