Quantcast
Viewing all articles
Browse latest Browse all 47296

Handling dashboard parameters passed in from link

We have a dashboard panel table that contains links to dashboard "snapshots" like this: http://...?**form.field1.earliest=1505343600&form.field1.latest=1505354400** On the dashboard we have a panel that has external hyperlinks which need dynamic timestamps as well. In order to create those timestamps we have the following code in the form section of our dashboard: -1d@d@dstrftime('earliest',"%m/%d/%y %H:%M:%S"strftime('latest',"%m/%d/%y %H:%M:%S"'latest'+3600$latest$-$earliest$+7200 This code works fine if I am coming into the dashboard directly and use the date picker to select earliest/latest. If I come to the dashboard via a link like above, the variables stime/etime/etime_NR/duration_NR are not set. Ideas?

Viewing all articles
Browse latest Browse all 47296

Trending Articles