Qlik Community

QlikView Publisher

Discussion Board for collaboration on QlikView Publisher.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

phill_gilchrist
New Contributor III

Publisher - Setting a field post reload

Hi,

Created an app which distributes a pdf via PUBLISHER.

Where I'm falling down, is getting it to select the MAX Date on Reload.

Any Ideas?

3 Replies

Re: Publisher - Setting a field post reload

You mean, selecting a maximum value in a calendar object at the end of a reload? There are no UI objects during script execution, so you cannot make selections. Moreover, the useful triggers are not available in a Server environment. See the last part of "Macro Trigger Limitations" in Using Macros in QV Documents on the QV-Server ‒ QlikView (or in the QlikView Reference Manual).


What you can do is define a Select in Field Action and attach it to the OnOpen trigger in your document. That will work.


Peter

phill_gilchrist
New Contributor III

Re: Publisher - Setting a field post reload

Thanks for the response Peter.

I was aware of these, and have tried the OnOpen Trigger, but this doesn't seem to take effect through publisher.

Any ideas why?

Re: Publisher - Setting a field post reload

Because a document that is getting reloaded/distributed by the Publisher (that's what the Publisher does) will not have the OnOpen trigger firing. OnOpen will fire whenever a user opens a document in the AccessPoint or in QV Desktop. Sorry.

Another possible technique could be to set a variable and let the Report use that variable in some way. Not sure about what you want to do with the MAX value.

Best,

Peter