Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

amauryviseo
New 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

Tags (1)
1 Solution

Accepted Solutions
Employee
Employee

Re: How to pass several variables to QVDistributionService ?

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

4 Replies
Employee
Employee

Re: How to pass several variables to QVDistributionService ?

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

amauryviseo
New Contributor II

Re: How to pass several variables to QVDistributionService ?

Ok...Thanks for your answer

Not applicable

Re: How to pass several variables to QVDistributionService ?

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

Re: How to pass several variables to QVDistributionService ?

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


Community Browser