Power BI - 创建链接视觉对象 [英] Power BI - create link visual

查看:27
本文介绍了Power BI - 创建链接视觉对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们开发了一个自定义的视觉效果,其中包括一个沿着整个视觉主体延伸的 <a> 标签(类似于 imagebutton).通过单击 <a> 容器,用户应导航到另一个 PowerBI 报告.我们的解决方案适用于 Power BI 开发人员工具,但是当我们在 Power BI 中使用导出的视觉对象时遇到了一些问题:该链接在浏览器中不起作用,可能是因为 沙盒,这在开发工具中没有发生.

We’ve developed a custom visual which includes an <a> tag stretched out along the whole visual body (something like imagebutton). By clicking on the <a> container, the user should be navigated to another PowerBI report. Our solution works in the Power BI developer tools, but we’re experiencing some problems when we use the exported visual in Power BI: The Link doesn’t work in browsers, probably because of sandboxing, which is not happening in dev tools.

我们可以禁用沙盒吗?或者,我们如何创建一个Image-Button"-Visual 来导航到另一个报表?

Can we disable the sandboxing? Alternatively, how can we create an "Image-Button"-Visual, which navigates to another report?

推荐答案

您可以通过添加此查询字符串来禁用沙盒:

You can disable sandboxing by adding this querystring:

?sandboxVisualsEnabled=false

这会删除 iFrame 并且不使用沙盒.

This removes the iFrame and doesn't use Sandboxing.

也可以尝试一下刚刚发布的新视觉效果,你可能会获得更大的成功:PowerBI Visuals 文档

Also try the new visuals that have just been released, you may have more success: PowerBI Visuals Docs

这篇关于Power BI - 创建链接视觉对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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