Subject: Click behavior URL dynamic context support in iframe embed
Hi,
I'm on the self hosted free tier of Metabase embedded via a plain iframe inside our application. The iframe src is constructed dynamically by our app and contains two unique IDs in the URL path (an organization ID and a report ID), so the full embedding page URL looks something like:
https://app.example.com/en/reports/{orgId}/report/{reportId}
I'm trying to set up click behavior on dashboard table cells so that clicking a row filters a call records table on the same dashboard to show only the filtered calls. I'm using "Go to URL" in the click behavior settings with {{ColumnName}} substitution to pass any variables I need.
The problem is that the destination URL in click behavior is static, there's no way to reference the host page URL or its dynamic path segments. If I hardcode the Metabase dashboard URL (metabase.example.com/dashboard/...), clicking I get a not found.
Since I'm on the free tier, the Embedding SDK is not an option.
My questions:
- Is there any way to use a relative URL or reference the host page URL/context in the "Go to URL" click behavior field?
- Is there any planned feature or workaround for this use case on the free tier?
Thanks