Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Launching an application by clicking on a button

Hello,

Here is our problem : We created a Java Application which take a number as a parameter and make some modifications in a database. We wanted to lauch this application by clicking on a button on ClikView and we also want it to take the selected number in a list as the parameter for the application.

We tried with the following command :

- In the field application : cmd

- In the field parameters : /c java -classpath BloquerOf.jar BloquerOf 31159

It works with the parameter 31159 but we don't want to pass a number like that. We want to pass the number which is selected by the user on the ClikView application.

Is this possible to create a variable which take the selected number and pass it as a parameter for the application when it will be launch ?

Thank you

1 Solution

Accepted Solutions
biester
Specialist
Specialist

In the parameters, try with:

='/c java -classpath BloquerOf.jar BloquerOf ' & GetFieldSelections(FieldName,'',1)

Rgds,
Joachim

View solution in original post

2 Replies
biester
Specialist
Specialist

In the parameters, try with:

='/c java -classpath BloquerOf.jar BloquerOf ' & GetFieldSelections(FieldName,'',1)

Rgds,
Joachim

Not applicable
Author

I tried your solution and it works.

Thank you for your help.

Florian