Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
Not applicable

Can I pass more than one variable to a trigger EDX?

I have used EDX to allow user reload data from browser. I need user sets some variables to reload data as he wants.

Is it possible. I have uses TriggerEDXTask(serviceID, taskID, Password, variableName, variableValues) but i am able only to set one variable. How can I do?

1 Solution

Accepted Solutions
Not applicable

Re: Can I pass more than one variable to a trigger EDX?

Hi Nic, I believe its not possible. I believe, even though we can't pass more than one variable on QEMC task.

But you can pass all variable values into 1 variable & split into variable in your script like below:

vEDXTriggerInput = varianle1value|variable2value|variable3value|variable4value ; --> This is coming from Trigger.


LET variable1 = SubField('$(vEDXTriggerInput)','|',1) ;

LET variable2 = SubField('$(vEDXTriggerInput)','|',2) ;

LET variable3 = SubField('$(vEDXTriggerInput)','|',3) ;

LET variable4 = SubField('$(vEDXTriggerInput)','|',4) ;

2 Replies
MVP
MVP

Re: Can I pass more than one variable to a trigger EDX?

I think you can use a separator in variable name and variablevalues to pass more variables; then you can use subfield to get the different name and values 

variableName       a@b@c

variableValues      avalue@bvalue@cvalue

Not applicable

Re: Can I pass more than one variable to a trigger EDX?

Hi Nic, I believe its not possible. I believe, even though we can't pass more than one variable on QEMC task.

But you can pass all variable values into 1 variable & split into variable in your script like below:

vEDXTriggerInput = varianle1value|variable2value|variable3value|variable4value ; --> This is coming from Trigger.


LET variable1 = SubField('$(vEDXTriggerInput)','|',1) ;

LET variable2 = SubField('$(vEDXTriggerInput)','|',2) ;

LET variable3 = SubField('$(vEDXTriggerInput)','|',3) ;

LET variable4 = SubField('$(vEDXTriggerInput)','|',4) ;

Community Browser