Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

open Qlik file when press button

hi all,

how can i open Qlik view file on press button using javascript or anyother lang....

or if i can make file dashboard inside other product ????

5 Replies
Not applicable
Author

try batch file

Not applicable
Author

??? sorry but i cant understand

jagan
Partner - Champion III
Partner - Champion III

Hi,

Try this

<html>
<head>
<script type="text/javascript">
function runApp(st) {
 
WshShell = new ActiveXObject("WScript.Shell");
 
WshShell.Run (st,1,false);
}
</script>
</head>
<body>
<!-- Two ways to create a link to run the app. -->
<font onClick="runApp('file://c:/winnt/notepad.exe');" style="cursor: hand;"><u>Notepad</u></font>
<br>
<!-- Or use <a> descriptor -->
<a href="runApp('file://c:/test.bat');">Batch File</a>
</body>
</html>

http://www.roseindia.net/answers/viewqa/JavaScriptQuestions/21460-run-a-batch-file-through-javascrip...

Test.bat: Batch file consists of the file path of your qlikview and Qlikview exe

C:\Program Files\QlikView\qv.exe" "C:\Documents and Settings\qv_dev\myqvwfile.qvw

Also check this

http://community.qlik.com/message/202198

Regards,

Jagan.

Sokkorn
Master
Master

Hi,

Not sure that I understood you. But why you don't try build in action

Untitled.png

Regards,

Sokkorn

Not applicable
Author

thanks all

and thanks jagan mohan for solution its work