Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Macros QlikView Server

Hi all

When the QV it's not in WebView macros run perfectly. However, when I turn the WebView on, everythings runs off...

Example of a macro:

sub popup

          if ActiveDocument.ActiveSheet.GetProperties.Sheetid="Document\SH43" then

                    If ActiveDocument.Variables("vContasAP").GetContent.string=1 then

                              ActiveDocument.ShowPopUp "Não existem dados para o mês seleccionado", 3000, 2, 1

                    end if

          end if

end sub

If you can help me, I would appreciate...

Thanks in advance.

Best regards,

TMF

3 Replies
jerrysvensson
Partner - Specialist II
Partner - Specialist II

Macros don't work in WebView.

Some but not all macros work in Ajax. ShowPopUp will for instance not work.

Not applicable
Author

Is there a solution?..

TMF

Not applicable
Author

Mendes, hi.

Maybe a solution to this is use "calculation condition" and put an expression like this

sum(Qtd)>0

If no value, a message will appear inside the object. This work also in webview.  You can change the message in "error messages" buttom.

Alessandro Furtado