Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
hi all,
i am launching a URL from the straight table box now when i click the hyperlink i want the variable value to be changed i have to do some actions
on the click of the hyperlink for this .so how can i track the click in my hyperlink
Check out this post on field triggers, I think it will point you in the
right direction...
http://community.qlik.com/message/101446#101446
Hi,
I dont know is this a possible solution or not, but you can try if you feel so.
Create a seperate field in your table which will have the URL as the value.
So you can place a trigger on select of the value from this field.
Regards,
Kaushik Solanki
Hi Mate,
Like I had mentioned in my first post of using Field Selection Even Trigger. Here is the basic example... I had not incremented the vTest value but if this idea works then you increment the vTest variable everytime the user clicks on the Chart.
Cheers - DV
Just adding to my previous post. You can also use the same logic to create the straight table and it works fine. I hope this helps!
Cheers - DV
thanks for the reply kaushik even if i do that when i change the representation to hyperlink
then the field will not be selected even if i click . it will show me some approval message for the link we have created
in the script that's y i am asking to track the click on the hyperlink
hi DV,
thanks for the reply but i dont want this to happen on the selection of some field in your solution when u select a
field some link will be launched and then the variable will be set If you take the same field in straight table
and change the representation to link then u cant select that field that's the problem .
Hi short,
thanks for the reply ur link is quite helpful but cant solve my problem refer my previous post for that
guys any update
Hi,
You can set a macro to change the variable on the event of "OnAnyselect" of the document properties as follows:
Settings - > Document Properties -> Macros (tab)
Under "Document Event Triggers" you set a macro to change the variable value on the event trigger of "OnAnySelect"
In the macro you should verify whether the active chart is the one you wanted (that have links to click) otherwise dont set the variable.
It must solve your problem.
Hi,
I hope you want something like this.
Have a look at the attachment.
Regards,
Kaushik Solanki