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

Triggers in access point

Hi,

I use triggers in my application to clear all values and also to set default values and it works good. But when I publish this to access point it dosent work. How can I solve this ? / regards mikael

2 Replies
pover
Luminary Alumni
Luminary Alumni

I assume the trigger you are using to clear all values and set default values is the OnPostReload trigger which I have not seen work properly when the reload is done on QlikView Server or Publisher. However, the OnOpen trigger should work when opening the document on AccessPoint so try the OnOpen trigger.

Regards.

Not applicable
Author

You can create a vbscript file that is run as a scheduled task that will clear values on a specific file.

Mikael

Start by getting a handle on the qvw file

'Create an instance of QlikView

set Qv = CreateObject("QlikTech.QlikView")

Set activeDocument = Qv.OpenDocEx ("file.qvw",0,false) ' Open the document



if you want to reset a variable you can easily get a handle

set var = activeDocument.Variables("varName")

var.SetContent 0, true

Kal