Hi All,
In the table i have URL .So if i am clicking on the URL it will redirect existing dashboard. Now i want to show only click here .If i click then existing dashboard is to be open. Instead URL value i need click here and to open the URL
This is my table
Name | Interface | Link |
DSR1 | DSR1 | www.google.com |
DSR2 | DSR2 | www.splunk.com |
Rename you field with the url in to start with an underscore e.g. "_url", then refer to it in the drilldown as suggested earlier e.g. "$row._url$"
You need to set up a link drilldown on this field, using the value from the click as the address to link to. Try something like this
<drilldown>
<condition field="Link">
<link target="_blank">https://$click.value2|n$</link>
</condition>
</drilldown>
Do you mean something like this
<drilldown>
<condition field="Name">
<link target="_blank">https://$row.url|n$</link>
</condition>
</drilldown>
Not like that,I have a table with 5 column and one of the column URL field. Instead of showing full URL .I need to show only click here instead of URL. Then we need to open the complete URL on clicking click here.
Name | URL | App |
DSR | click here | Web app |
Rename you field with the url in to start with an underscore e.g. "_url", then refer to it in the drilldown as suggested earlier e.g. "$row._url$"
Hi @ITWhisperer
How to check if the url is null in xml dashboard.
You could try something like this
<drilldown>
<condition field="Name">
<eval token="link">if(isnull($row.url$),"","https://$row.url|n$"</eval>
<link target="_blank">$link$</link>
</condition>
</drilldown>
Hi @ITWhisperer
This is my code in xml dashboard. In my dashboard some link should be present. So if i click on the link it showing null. So i used below code. Still i am getting null value.
<condition field="Link">
<eval token="link">if(isnull($row.URL$),"","https://$row.URL|n$"</eval>
<link target="_blank">$row.URL|n$</link>
</condition>
Perhaps if you read my suggestion more carefully you would have noticed that I suggested you evaluate a new token and then use that token in the link!