i cant find the option to set up the parameters of the navigate to url navigation
that's interesting, it could be a browser display issue. Can you check the browser is zoomed with default 100%? Otherwise can you try it in a different browser?
You can also use the script from below:
var myURL = “http://your-instance-name/Dashboard/dashboardID?e=false&vo=viewonly”;
// navigation object
var navigation = new dundas.view.NavigateAction(); // opens the target in the same window; use NEW_WINDOW to open it in a new window navigation.actionTarget = dundas.view.ActionTarget.NEW_WINDOW; // specifies that it will navigate to a URL navigation.navigateType = dundas.view.DataActionNavigateType.URL; // URL for another dashboard, change it to your own dashboard URL navigation.targetUrl = myURL +"&$vpParameter1="+ table24.metricSetBindings.dataResult.cellset.rows.members.compatibleUniqueName
+"&$vpPrameter2=" + table24.metricSetBindings.dataResult.cellset.rows.members.compatibleUniqueName
+"&$vpPrameter3=" + table24.metricSetBindings.dataResult.cellset.rows.members.compatibleUniqueName;
I’m trying your code but it is not working. Is there any point that I missed?
Thanks for your reply in advande
Hi @fatih.dag ,
The option should show in user interface, have you tried from a different browser? For further help can you send an email request to firstname.lastname@example.org, then we can schedule a meeting to take a look at the issue. There is no need for scripting unless there is a reason to do so.
hi, i found that the parameters is not showing if i try to set up the interaction from a button.
It works on a table.
How to call a url from a button passing a parameters as get parameter?
hi, buttons do not have such option, since there are no data in a button and therefore no parameter mapping from the button. You need a data visualization such as a table, then setup click action on it for parameter mapping.
I understand, but it is a strange behavior since with the same button I can navigate to a report or a dashboard by passing the parameters of active filters
The script should work fine. You have to map your instance name, dashboard and parameters (if there are some parameters used for navigation). Also, you can add a debugger (debugger;) at the beginning of the script in order to check how the script is working.