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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Launch Application with Parameters

Hi All,

We have a maintenance ticket system, which resides on the users local hdd's - it draws data from a SQL database.

What we would like to do is launch the application from a qlikview document and pass in the ticked number, in other words:

"C:\Maint\Maint.exe id:1234", (where 1234 is the ticket number from the data row.) when the number is clicked.

Capture.PNG

I've tried various things but nothing seems to work.

='c'&'<url>'&'C:\Maint\Maint.exe' launches the application as expected, I can't get it to pass a parameter though!

Thanks

Labels (1)
1 Solution

Accepted Solutions
rwunderlich
MVP
MVP

Test it with a button "Launch Action" using file exe name as the "Application" and the "id:xxxx" as the parameter.

If that works then build your url as quoted strings like:

="'c'&'<url>'&'C:\Maint\Maint.exe" "id:' & ticketNumber & '"'


or use the button as a workaround

-Rob

View solution in original post

4 Replies
rwunderlich
MVP
MVP

='c'&'<url>'&'C:\Maint\Maint.exe id:' & ticketNumber

Anonymous
Not applicable
Author

Hi Rob,

Thanks for answering this, I think this was one of the combinations I tried, it returns a "Failed To Launch" message with the exact path of what can be typed into a command prompt to get it to run.

I'm now wondering if there's some kind of block on running an exe with a passed param?

rwunderlich
MVP
MVP

Test it with a button "Launch Action" using file exe name as the "Application" and the "id:xxxx" as the parameter.

If that works then build your url as quoted strings like:

="'c'&'<url>'&'C:\Maint\Maint.exe" "id:' & ticketNumber & '"'


or use the button as a workaround

-Rob

Anonymous
Not applicable
Author

Hi,

Thank you, tried the button and it works a treat