You can pass the javascript based dashboard parameters from the client-side itself.
If you want to pass the dashboard parameters when loading the dashboard, you can use the filterParameters.
Here, your Dashboard parameter is named as “City”, you have to pass the value as shown below inside the renderDashboard function,
Please find the filterParameters output dashboard as follows.
This could be changed depending on the mode (Literal/List) you configured in the dashboard parameter.
You can also use the following method to apply or update filter parameter, after the dashboard has been rendered.
Make sure you provide the correct casing for the dashboard parameter, as it is case-sensitive.
Example
var instance = BoldBI.getInstance("dashboard"); //dashboard -> embed container id
instance.updateFilters("City=SOCORRO");
Please find the following update filter parameters output dashboard.