Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

No funciona Botón de recarga en web

Buenos días,

tenemos un modelo en el servidor, al cual se le añadió un botón de recarga para poder recargar la información contra demanda, sin embargo, al presionar el botón desde la web, el mismo no funciona y la información no es recargada.

podrían ayudarme con este tema para poder utilizar dicho botón?

saludos,

1 Solution

Accepted Solutions
Giuseppe_Novello

Dear Daniel,

This what the qlikview reference manual describes the following about macros, pg 903 " Macro functionality limitations":

The following types of functionality are not to be used in the QlikView Server environment , as they may

cause unexpected results:

- Layout operations acting on the properties of sheets and sheet objects via SetProperties

- Operations changing document or user settings

- All operations related to the script, including Reload

- Data reduction operations, e.g. ReduceData

- Operations such as Save and Open document

80.3 Macro trigger limitations

The following triggers will work as usual in the QlikView Server environment for all clients, except AJAX

mode which doesn't support event triggers:

Document.OnAnySelect

Field.OnSelect

Field.OnChange

Field.OnUnlock

Document.OnPressMacroButton

Variable.OnChange

Variable.OnInput

The following triggers are not to be used in the QlikView Server environment, since they lack meaning or

may cause unexpected results:

OnPostReduceData

OnPostReload

Giuseppe Novello
Principal Technical Support Engineer @ Qlik

View solution in original post

11 Replies
alexandros17
Partner - Champion III
Partner - Champion III

It's a normal behaviour, the reload trigger doesn't work with ajax and plugin, it only works with original souce document

Not applicable
Author

Then I can't use that button in web mode?

There is another way to do it? A macro maybe?

Regards,

alexandros17
Partner - Champion III
Partner - Champion III

I know that someone did it with macro but it is not a good practice, think if 2 or more user reload simultaneusly the document ... maybe it is better to schedule it a certain time ...

Not applicable
Author

The document only have one user, so it's not an issue, and in this particular model it's important to make reloads under demand, so you know where I can find the macro?

alexandros17
Partner - Champion III
Partner - Champion III

Here in the forum ....

Giuseppe_Novello

Dear Daniel,

This what the qlikview reference manual describes the following about macros, pg 903 " Macro functionality limitations":

The following types of functionality are not to be used in the QlikView Server environment , as they may

cause unexpected results:

- Layout operations acting on the properties of sheets and sheet objects via SetProperties

- Operations changing document or user settings

- All operations related to the script, including Reload

- Data reduction operations, e.g. ReduceData

- Operations such as Save and Open document

80.3 Macro trigger limitations

The following triggers will work as usual in the QlikView Server environment for all clients, except AJAX

mode which doesn't support event triggers:

Document.OnAnySelect

Field.OnSelect

Field.OnChange

Field.OnUnlock

Document.OnPressMacroButton

Variable.OnChange

Variable.OnInput

The following triggers are not to be used in the QlikView Server environment, since they lack meaning or

may cause unexpected results:

OnPostReduceData

OnPostReload

Giuseppe Novello
Principal Technical Support Engineer @ Qlik
simospa
Partner - Specialist
Partner - Specialist

You can use the Reload Edx script, that QV provides "as is".

I attach here the one I'm using, remembering another time that is not a good practice.

In Module Edit you have to allow Access to System (two combobox on the left side)

Bye

S.

fkeuroglian
Partner - Master
Partner - Master

Daniel como estas?

es normal que eso que te esta pasando suceda, ya que desde la web no se pueden hacer recargas totales ni parciales, es mas que nada por un tema de seguridad.

No se le puede dar la posibilidad a cualquier usuario que pueda recargar el documento cuando este lo desea ya que este documento es visibile por varios usuarios y un user estaria modificando el mismo a su gusto.

Por eso es que qlikview limita esta opcion.

lo que puedes hacer es buscar alguna alternativa para poder lograr tu objetivo deseado o sino investigar y tratar de lanzar eventos externos que recarguen el documento.

te dejo este enlace espero te sirva

abrzo

Fernando

Using EDX in QlikView 11 - basic example

jaimeaguilar
Partner - Specialist II
Partner - Specialist II

Hola,

Otra alternativa podría ser que el usuario se conecte a través del desktop, utilizándolo como cliente (por medio de la opción Open in server) o también podrías intentar probar dicha funcionalidad con el Plugin de Internet Explorer. Como ya mencionaron, ni las macros ni ciertas acciones/triggers (como el recargar el documento) funcionan desde Ajax,

Saludos