Friends,
I created an application that tells the default of a certain company. With Dynamic Updates, can create a QVD analyzed for each client, where it is possible to enter some contact information ... the creation of QVD is the export of an object, ie, there is a table type object that shows the entered values on a table online.
This export is performed by a macro (code below) with permission from system to system.
The problem is that it does not work on server environment, only the PE.
Does anyone have any idea how I can solve this problem? In QVS is enabled Run Macro on the server and Allow Dynamic Updates. The dynamic update works, but QVD is not recorded.
The following macro code:
sub SaveTableToFile
set obj = ActiveDocument.GetSheetObject ("Document \ CH27")
customer = ActiveDocument.Variables ("vCliente"). GetContent.String
obj.ExportEx "\ QVD \ default \" & client & "- FOLLOW_UP.qvd" 4
End Sub
Translated with Google Translate - Qlik Community Administrative Team
Amigos,
Criei uma aplicação que informa a inadimplência de uma determinada empresa. Com o Dynamic Updates, consigo criar um QVD para cada cliente analisado, onde é possível informar alguns dados de contato... a criação deste qvd é a exportação de um objeto, ou seja, existe um objeto do tipo tabela que mostra os valores inseridos em uma tabela on line.
Esta exportação é realizada por uma macro (código abaixo), com permissão ao sistema ao sistema.
O problema é que ela não funciona em ambiente server, somente no PE.
Alguém tem alguma idéia de como posso resolver este problema? No QVS está habilitado Executar Macro no Servidor e Permitir Atualizações Dinâmicas. A atualização dinâmica funciona, porém o qvd não é gravado.
Segue código macro:
sub SaveTableToFile
set obj = ActiveDocument.GetSheetObject("Document\CH27")
cliente = ActiveDocument.Variables("vCliente").GetContent.String
obj.ExportEx "\QVD\INADIMPLENCIA\" & cliente & " - FOLLOW_UP.qvd", 4
end sub