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

Trigger EDX Qlikview 10

I used to run the trigger edx function posted by bbt (http://community.qlik.com/forums/t/18961.aspx) on Qlikview 9 perfectly.

However, I can't make it work on Qlikview 10. It stops at the command

objHttp.Send strKeyRequest

I read that the services have been merged. I am connected to http://myserver:4720/qtxs.asmx.

Any help on this topic?

Regards,

Marco

39 Replies
brindlogcool
Creator III
Creator III

Hi Jpengiu,

Thanks for your  EDX code it was really useful

i have used your EDX, it was running the task. But the problem is i have some set variables in the script those variable values are not getting set when i am running your script.

Also another thing is i want to user should wait till the task execution completes. As of now user can just click ok and play around the screen with the recent data. And i am not sure for me i am getting warning mesage.

It would be really helpful if you were able to help me why the Set variables are not storing the values.

jpengiu
Contributor III
Contributor III

Would you pass the variable from EDX program to qlik or the variable is set on the final qlik?

If the answer is the second, in the load script the sintax is: set field1='Test';

and then you can use the vriable  with: ='$(field1)'

bye

brindlogcool
Creator III
Creator III

Thanks for your response

Yes the second one. I am getting the Warning and the page is not getting refreshed.

brindlogcool
Creator III
Creator III

Hi Jpengiu,

Attached the sample file for your reference.

I need the below functionality

1. Clik on the Search button set the variable vT through actions to 1

2. Run the Reload option, pass the variable vT to Edit script

3. Check the vT value if vT is 1 Run the data from Table1 and set the variable t1,If vT is 2 then run the data from Table 2 then set the variable t2.

It would be great and really appreciate your help if you are able to help me out.

jpengiu
Contributor III
Contributor III

First step

The variable isn' t vT but vCond.

The sub Run Task don't know the value of vCond so in this sub, after Sub RunTask, you must insert the statement:

set vCond = ActiveDocument.Variables("vCond")

vCond=vCond.GetContent.String

check and let me know

bye

brindlogcool
Creator III
Creator III

Thanks for your response. Now it is working fine .How to pass the multiple paramters

Is this the Right way

<i_VariableName>variable</i_VariableName><i_VariableValueList><string>value</string></i_VariableValueList>

<i_VariableName>variable</i_VariableName><i_VariableValueList><string>value</string></i_VariableValueList>

Not applicable
Author

getting permission denied when running the sunroutine...

when you say "doc" does that mean qvd or something else?

doc = "Submissiondocuments.qvd"

jpengiu
Contributor III
Contributor III

Doc means simply the "Task name" no file qvd. doc="Task name".

The task defined in "Enterprise Management Console".

Doc is the task you want run.

bye

Not applicable
Author

Hello,

I also have a requirement where I have to reload the document via EDX.I embedded the script in the button click.

But on cllicking the button, nothing happens...

These are the variables.

url = "localhost:4780/qtxs.asmx"  

doc = "RN60-ConsolidatedCostofProgrammingReport.qvw"                      

userID = "subexworld.org\optima.test"                  

pass = "rocpsgvtdice123"  

It doesn't even give me the 'Are you sure' prompt.

My access point is IE....qllikview version is 9.00 SR7

Thanks,

Anju

brindlogcool
Creator III
Creator III

Hi Anju,

Are you getting any error messages?.