Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  • The IFrame widget allows embedding websites into the Squirro Dashboard. The configuration has one parameter only, the URL.
  • In order to embed a website as an iFrame, it must itself support that via X-Frame-Options, aswell as being served via the same protocol as Squirro itself (http / https).
  • The URL must be well formatted, including the protocol (eg. http://www.squirro.com).
  • There are several parameters in the URL that one can use to extend the functionality. Using those optional parameters allows a limited channel of communication to be created between Squirro and the embedded webpage. Outdated from version 2.6.5 - use Dashboard/Widget Query Parametrisation instead.
    • %s - will be replaced by the current Dashboard query when resolving the URL.
    • %ta - will be replaced by the beginning of the current Dashboard time range (time-after) (if one is defined).
    • %tb - will be replaced by the end of the current Dashboard time range (time-before) (if one is defined).
    • %u - will be replaced by the currently logged in user's name.
    • %p - will be replaced by the current project's title.
    • %d - will be replaced by the current (containing the IFrame widget) dashboard's title.
    • %q[query_param] - will be replaced by the embedded dashboard's URL query param of the name query_param.
      This is particularly useful in scenarios where the embedded dashboard gets injected some parameters from the outside environment.
      By referencing them in the iFrame widget, it is possible to trickle them down to the referenced web endpoint. 

...