It is possible to make the URL on a dashboard dynamic based on the changes that are occurring in the underlying gateway. By dynamic it means that when you invoke the link (by right click or double click on the dashboard object) it will launch a different view in the console, or even a different link in the web browser.
This is not strictly out of the box functionality, so there is some work to do on both the console and the gateway as discussed below. Note that it is assumed the reader is familiar with dashboard and the user of modifiers already. If not you can review this page for a tutorial.
On the console you will need to import a new modifier (you can find it attached ot this article)
See this page for more instructions on how to do this. This modifier will change the link on a dashboard object to be equal to a cell value.
Next we need to create a cell in a gateway that will drive the dynamic URL. In this example below we create a compute engine data view, and populate it with a URL that points at all critical managed entities in a gateway.
The XML for this view looks like this:
You will then need a rule to populate the cell. In essence, you can build any URL in this cell that you want the dashboard object to invoke. In the example below, we are just finding the first critical managed entity and setting the URL to that.
You should now drag and drop the URL cell onto a dashboard object and select your new modifier
We would also advise on that dashboard object that you disable the 'Allow Direct Editing' in the text properties so that the cursor does not come up when you invoke the URL.
Now when you double click the dashboard object it will invoke the URL in the computed cell. In this case move to the first critical entity. If you fix this problem, and click again it will take you to the next critical entity.
Examples of the URLs you may consider include:
|Populating a cell with its data view path
The lowest level granularity of a URL with respect to data items is a data view (a link will not take you to an individual cell). Below is an example rule that builds a path for that cells data view.
|Moving directly to the root cause of an issue
Maybe, more importantly, using this function it is now technically possible to have the user click on a dashboard object and go through to the root cause of a problem, by passing a dashboard proxy view, or even some middle ware gateway SQL. The only restrictions you are working within is that the URL can take just one path, and you need to be able to create that path in the data view cell (so need to get the required information together in that place). In the case where you are using gateway sharing because the console is gateway agnostic you may even be able to bypass the shared gateway and go to the root cause gateway.
|Linking to a dynamic web page
Using the standard URL function for a dashboard object you can add a link such that if you double click on the object, or right-click and use the 'links' menu it will invoke the link in the OS standard we browser (shown below)
This link is however non-mutable, I.E. unless you manually change the URL it will not update. Using the link URL to value modifier however it is possible to make this link more dynamic. Although we provided the modifier above to give more detail you can replicate the same modifier in GA4.0 and onwards using the Tools --> Custom Modifier Manager, an example is show n below:
The modifier the above creates is available in the attachment of this article:
You can import this using file --> Import.
This modifier will link the value of a cell to URLs on a dashboard object. Thus before you can use this you need to have setup a cell with the URL value, probably using gateway SQL or compute engine, though a toolkit or SQL toolkit or API sampler will work as well. Here is an example computed view:
If you have used the above, you will also need a rule to populate the URL cell:
To link to a dynamic web page the cell value must be of the format webpage(<some full url>), examples can be seen below
Note excluding the webpage, or in windows the http will mean it will not work
You can then drag the cell that you have created on to a dashboard object and use the new modifier
The existing URLs will be replaced with the cell value. If the cell value changes the link in the dashboard object will also be updated.