VizAlerts icon indicating copy to clipboard operation
VizAlerts copied to clipboard

Allow content references to be relative to the workbook

Open mcoles opened this issue 7 years ago • 1 comments

Right now if you want to add a content reference to a dashboard or viz in the workbook that the Trigger View lives in, you've got to add the full path:

'VIZ_IMAGE(myworkbook/myview)'

But you don't always know that your workbook will be named that, since you haven't published it yet (maybe there's already a "myworkbook" on Tableau Server and yours ends up being "myworkbook_0" in the repository URL).

How about, if there's no "/" in the reference path, we just assume that you mean "the workbook I'm currently in"? So to reference "myview" from your local workbook would be as simple as:

'VIZ_IMAGE(myview)'

So long as "myview" was a valid viz in the workbook the trigger view lives in, it'd know what to do automatically.

mcoles avatar May 03 '17 15:05 mcoles

I like this shortcut!

On May 3, 2017, at 11:36 AM, Matt <[email protected] mailto:[email protected]> wrote:

Right now if you want to add a content reference to a dashboard or viz in the workbook that the Trigger View lives in, you've got to add the full path:

'VIZ_IMAGE(myworkbook/myview)'

But you don't always know that your workbook will be named that, since you haven't published it yet (maybe there's already a "myworkbook" on Tableau Server and yours ends up being "myworkbook_0" in the repository URL).

How about, if there's no "/" in the reference path, we just assume that you mean "the workbook I'm currently in"? So to reference "myview" from your local workbook would be as simple as:

'VIZ_IMAGE(myview)'

So long as "myview" was a valid viz in the workbook the trigger view lives in, it'd know what to do automatically.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tableau/VizAlerts/issues/108, or mute the thread https://github.com/notifications/unsubscribe-auth/AAW-MVp9JwxsWQTaNW485ITscLkrAHr3ks5r2J7rgaJpZM4NPlCU.

https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png https://github.com/tableau/VizAlerts https://github.com/tableau/VizAlerts/issues/108

jdrummey avatar May 03 '17 16:05 jdrummey