I’m embedding an existing dashboard in a webpage, and I’ve done so successfully.
On this dashboard, there are other links in it to related Looker dashboards. That works fine if you go directly to it.
However, the links don’t have /embed/ in them, so if I click one of them, it doesn’t work.
How can I get the links in this Dashboard to have /embed/ in them so they work right?
Bump - anyone?
I was thinking of editing the links on the dashboard to include /embed/ in them, but my worry is that that would cause some issues for other users. I don’t *think* it would, but I just can’t be sure.
I'm not sure if this will work, but something to try would be using liquid parameters in the links to check to see if you are on an embed page, (ie relative url includes embed), and if so, add the /embed to the link
https://cloud.google.com/looker/docs/liquid-variable-reference#using_liquid_variables
_ |
ADDED 22.12 The relative URL for the current dashboard. |