Hi Support, or anyone who perhaps know how to do this...
Is there a way to have access to the Query Output Settings when opening a query from html using AwareApp?
I Have a custom HTML/CSS Nav bar in one off my apps and find users tend to open the same queries multiple times so I want to take advantage of the 'Do not open new tab if tab has already been opened'.
How would one do that from here:
<li onclick="javascript:AwareApp.runQuery ('ViewMyProperties', 'new_tab');">My Query</li>
Thanks in Advance
Query Output Settings when using AwareApp.runQuery
-
- Posts: 345
- Joined: Mon Nov 12, 2012 9:08 pm
- Location: South Africa
Query Output Settings when using AwareApp.runQuery
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
Re: Query Output Settings when using AwareApp.runQuery
Hi,
Did you find a solution on this?
Thx,
Did you find a solution on this?
Thx,
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
-
- Posts: 345
- Joined: Mon Nov 12, 2012 9:08 pm
- Location: South Africa
Re: Query Output Settings when using AwareApp.runQuery
Unfortunately not. Don't think that options is exposed via the AwareApp API.
Ideal would be to jump to existing tab if already open.
Ideal would be to jump to existing tab if already open.
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
Re: Query Output Settings when using AwareApp.runQuery
FYI - I'm having issue with that functionality in 8.1
... like I think it might have broke.
posted about it here: https://www.awareim.com/forum/viewtopic ... 938#p46938
... like I think it might have broke.
posted about it here: https://www.awareim.com/forum/viewtopic ... 938#p46938
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.
Jaymer
Aware Programming & Consulting - Tampa FL
Jaymer
Aware Programming & Consulting - Tampa FL
-
- Posts: 7525
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: Query Output Settings when using AwareApp.runQuery
This functionality IS exposed and there is a forum thread somewhere that describes it (I think).
The parameter that you specify as "new_tab" needs to be an object instead of a string that describes the settings.
runQuery ('Query Name', { new_tab: true, openExisting: true .. });
see the renderToNewTab function in the file awareApp.js
The parameter that you specify as "new_tab" needs to be an object instead of a string that describes the settings.
runQuery ('Query Name', { new_tab: true, openExisting: true .. });
see the renderToNewTab function in the file awareApp.js
Aware IM Support Team
-
- Posts: 345
- Joined: Mon Nov 12, 2012 9:08 pm
- Location: South Africa
Re: Query Output Settings when using AwareApp.runQuery
Thanks for clarifying that Support.
Would be nice if you can add this to the documentation with all the available parameters and an example of how to use each one. (So we can be sure to use the correct name, Syntax such as ` vs ' and also the correct casing)
Would be nice if you can add this to the documentation with all the available parameters and an example of how to use each one. (So we can be sure to use the correct name, Syntax such as ` vs ' and also the correct casing)
Hein Hanekom & Werner Hanekom
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
Sinov8.net
AwareIM Version 5.9 | 6.0 | 7.0 | 7.1 (Windows EC2 R2012 & MySQL)
Re: Query Output Settings when using AwareApp.runQuery
+10RentProperty wrote:Thanks for clarifying that Support.
Would be nice if you can add this to the documentation with all the available parameters and an example of how to use each one. (So we can be sure to use the correct name, Syntax such as ` vs ' and also the correct casing)
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42