Embedding grafana dashboard in my web app, using Iframe widget
which is embedding the URL in an iframe-
after putting the credentials it shows the login is successful is redirecting me to same page again
however when I incorporate this url in link widget it works absolutely fine and opens the link in new tab.
@Malvika Singh
Not sure I fully understand the issue but I do know the target = "_blank" sometimes doesn't work on buttons but does work on links.
A way around it on buttons is to use some Javascript lick this....
In the javascript you build out the url and pass in any get variables as input parameters and concatenate the URL string. You prefix the string with window.open and place the URL within it. This will cause the URL to open in a new window.
e.g.
window.open('https://www.google.com' + $parameters.YOURINPUTPARAMETER + ',' + 'blank')
The , + blank at the end is important and needs to be included but you can add as many input parameters and concats as you like until the url is correct.
To add an input parameter to you JS you go here, right click on parameters and add them.
I hope this helps, apologies if I misunderstood the requirement.
Have a good =D