<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Run macro in server (Executar macro no server) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Run-macro-in-server-Executar-macro-no-server/m-p/864749#M302593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This export is performed by a macro (code below) with permission from system to system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that it does not work on server environment, only the PE.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following macro code:&lt;/P&gt;&lt;P&gt;sub SaveTableToFile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set obj = ActiveDocument.GetSheetObject ("Document \ CH27")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; customer = ActiveDocument.Variables ("vCliente"). GetContent.String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.ExportEx "\ QVD \ default \" &amp;amp; client &amp;amp; "- FOLLOW_UP.qvd" 4&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Translated with Google Translate - Qlik Community Administrative Team&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amigos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esta exportação é realizada por uma macro (código abaixo), com permissão ao sistema ao sistema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;O problema é que ela não funciona em ambiente server, somente no PE.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Segue código macro:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub SaveTableToFile&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set obj = ActiveDocument.GetSheetObject("Document\CH27")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cliente = ActiveDocument.Variables("vCliente").GetContent.String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.ExportEx "\QVD\INADIMPLENCIA\" &amp;amp; cliente &amp;amp; " - FOLLOW_UP.qvd", 4&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 May 2015 20:52:41 GMT</pubDate>
    <dc:creator>rogerioqv</dc:creator>
    <dc:date>2015-05-27T20:52:41Z</dc:date>
    <item>
      <title>Run macro in server (Executar macro no server)</title>
      <link>https://community.qlik.com/t5/QlikView/Run-macro-in-server-Executar-macro-no-server/m-p/864749#M302593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This export is performed by a macro (code below) with permission from system to system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that it does not work on server environment, only the PE.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following macro code:&lt;/P&gt;&lt;P&gt;sub SaveTableToFile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set obj = ActiveDocument.GetSheetObject ("Document \ CH27")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; customer = ActiveDocument.Variables ("vCliente"). GetContent.String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.ExportEx "\ QVD \ default \" &amp;amp; client &amp;amp; "- FOLLOW_UP.qvd" 4&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Translated with Google Translate - Qlik Community Administrative Team&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amigos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Esta exportação é realizada por uma macro (código abaixo), com permissão ao sistema ao sistema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;O problema é que ela não funciona em ambiente server, somente no PE.&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Segue código macro:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sub SaveTableToFile&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set obj = ActiveDocument.GetSheetObject("Document\CH27")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; cliente = ActiveDocument.Variables("vCliente").GetContent.String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj.ExportEx "\QVD\INADIMPLENCIA\" &amp;amp; cliente &amp;amp; " - FOLLOW_UP.qvd", 4&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;end sub&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 20:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-macro-in-server-Executar-macro-no-server/m-p/864749#M302593</guid>
      <dc:creator>rogerioqv</dc:creator>
      <dc:date>2015-05-27T20:52:41Z</dc:date>
    </item>
  </channel>
</rss>

