Hi Guys!
Hope there is someone who can assist. I am building dashboard views for some of my queries but struggling to get it functioning as I want.
Basically each dashboard would have a Column layout with 2 panels. The top Panel has a row of buttons. Each of the buttons call a specific query that should open in the second panel. I.E replace whatever is in that panel currently but still keeping the VP in tact. thus not in a new tab.
Here is an example: You will have an operation that opens the dashboard in a new tab. The dashboard will then look like this:

Here is what I've tried for the buttons:
<body>
<ul >
<li><a href='#' onclick="javascript:AwareApp.runQuery ('ShowRenewalAlerts', AwareApp.getPanelId('main', 'MyDashBoard', 'Query'));">Button 1</a></li>
<li><a href='#' onclick="javascript:AwareApp.runQuery ('ShowRenewalsWIP', AwareApp.getPanelId('main', 'MyDashBoard', 'Query'));">Button 2</a></li>
<li><a href='#' onclick="javascript:AwareApp.runQuery ('ShowRenewalConfirmed', AwareApp.getPanelId('main', 'MyDashBoard', 'Query'));">Button 3</a></li>
<li><a href='#' onclick="javascript:AwareApp.runQuery ('ShowRenewalCompleted', AwareApp.getPanelId('main', 'MyDashBoard', 'Query'));">Button 4</a></li>
</ul>
</body>
However, nothing is happening. When I click the button. If I replace the 'AwareApp.getPanelId' with 'main' then it opens the query but it replaces the entire Visual Perspective (MyDashBoard). Thus throwing away my Buttons.
Any ideas will be appreciated.
kindest Regards
Hein