Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
amauryviseo
Partner - Contributor II
Partner - Contributor II

How to pass several variables to QVDistributionService ?

Hello,

Is it possible to set several variables through QVDistributionService ?

In fact

If I create a test document test.qvw

I create two variables A, B, C without value

I save

I close the document

When I call QVDistributionService through a command line

C:\Program Files\QlikView\DistributionService\QVDistributionService -r="<path>\test.qvw" -variablename=A -variablevalue=1 -variablename=B -variablevalue=2 -variablename=C -variablevalue=3

There is no error...Only lines with "Information...."

When I reopen the test.qvw document only the lastvariable C is set with value "3". No change on the other variables

Have you a solution, a tip using QVDistributionService

Thanks in advance

Amaury M

Amaury Moreau
Senior BI Consultant - Qlik Expert
1 Solution

Accepted Solutions
Bill_Britt
Former Employee
Former Employee

You can't do this at this time. It will accept only one variable.

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.

View solution in original post

4 Replies
Bill_Britt
Former Employee
Former Employee

You can't do this at this time. It will accept only one variable.

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.
amauryviseo
Partner - Contributor II
Partner - Contributor II
Author

Ok...Thanks for your answer

Amaury Moreau
Senior BI Consultant - Qlik Expert
Not applicable

How about a variable array?  Or just a compound value?  I agree with Bill on the variable limitation, but just because you can only pass one variable doesn't mean it can only contain one value.

Pass in Var1-Var2-Var3 through the command line, and then filter them back into components in the receiving app.

Not applicable

Hello Amaury,

I happen to find this discussion when I'm looking for the answer to the same question!

May I know what was the solution that you finally used ?

Merci.

A +

Kai