<?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 How to create several reduced qvw documents - no Publisher available in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148770#M27013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;http://guerrillabi.com/publisher_with_external_users&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jul 2009 16:25:19 GMT</pubDate>
    <dc:creator>blaise</dc:creator>
    <dc:date>2009-07-08T16:25:19Z</dc:date>
    <item>
      <title>How to create several reduced qvw documents - no Publisher available</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148769#M27012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;Again, bothering all you guys with a question that is killing me!&lt;/P&gt;&lt;P&gt;I have this macro:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE ___default_attr="plain" class="jive_text_macro jive_macro_code" jivemacro="code"&gt;&lt;BR /&gt;sub Reducir&lt;BR /&gt;Dim texto&lt;BR /&gt;set k=ActiveDocument.Fields("DM_EMPLOYEE_NAME")&lt;BR /&gt;set UrvFtg=k.GetPossibleValues&lt;BR /&gt;For i= 0 to UrvFtg.Count-1&lt;BR /&gt;k.select UrvFtg.Item(i).Text&lt;BR /&gt;ActiveDocument.ReduceData false&lt;BR /&gt;ActiveDocument.SaveAs "C:"&amp;amp;UrvFtg.Item(i).Text&amp;amp;".QVW"&lt;BR /&gt;msgbox(UrvFtg.Item(i).Text)&lt;BR /&gt;next&lt;BR /&gt;end sub&lt;BR /&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to generate several QVW files (one for each value in DM_EMPLOYEE_NAME field), this with the purpose to give a local QVW file for each DM User in my company (that will be opened with Analyzer+, but that's another story). Obviously for the trained eye (the eye of all experts of this forum), this macro will not fail but will generate only one reduced qvw, since when run the next for sequence will not find any value, because the active document will become the reduced one, not the original.&lt;/P&gt;&lt;P&gt;How can I solve this? I know that I can set up a batch task in publisher that reload and publish reduced qvw, but now we don't have budget to buy the publisher license and I'm urged to develop a solution.&lt;/P&gt;&lt;P&gt;Thanks in advance for any comments that you can provide.&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Andrés A. Jején P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 03:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148769#M27012</guid>
      <dc:creator />
      <dc:date>2009-07-08T03:41:37Z</dc:date>
    </item>
    <item>
      <title>How to create several reduced qvw documents - no Publisher available</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148770#M27013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;http://guerrillabi.com/publisher_with_external_users&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 16:25:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148770#M27013</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2009-07-08T16:25:19Z</dc:date>
    </item>
    <item>
      <title>How to create several reduced qvw documents - no Publisher available</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148771#M27014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andres,&lt;/P&gt;&lt;P&gt;How about using 'Section Access' to control what data an individual user sees instead?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 17:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148771#M27014</guid>
      <dc:creator />
      <dc:date>2009-07-08T17:05:56Z</dc:date>
    </item>
    <item>
      <title>How to create several reduced qvw documents - no Publisher available</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148772#M27015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gordon,&lt;/P&gt;&lt;P&gt;This will not work because I want to physically distribute offline cubes to all my users, the master cube weights about 30 MB and the reduced cubes will not be over than 1 MB so it will be easy to send to every users... But thanks for your answer!!!&lt;/P&gt;&lt;P&gt;Hi Blaise!&lt;/P&gt;&lt;P&gt;The script that you sent will only work as a vbs script or I can use the engine inside Qlik View?&lt;/P&gt;&lt;P&gt;Regards and thanks for your answer&lt;/P&gt;&lt;P&gt;Andrés A. Jején P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 20:42:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148772#M27015</guid>
      <dc:creator />
      <dc:date>2009-07-08T20:42:27Z</dc:date>
    </item>
    <item>
      <title>How to create several reduced qvw documents - no Publisher available</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148773#M27016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andres,&lt;/P&gt;&lt;P&gt;You could do this outside of Qlikview. See this .vbs file that opens a QV document, exports a table then closes Qlikview:&lt;/P&gt;&lt;P&gt;' Start QlikView and open the document&lt;BR /&gt;set Qv = CreateObject("QlikTech.QlikView")&lt;BR /&gt;Set QvDoc = Qv.OpenDoc ("E:\QVApplications\QVTest\ONPOSTRELOAD.QVW","","")&lt;/P&gt;&lt;P&gt;' Activate the Main sheet and object CH01&lt;BR /&gt;QvDoc.Sheets("Main").Activate&lt;BR /&gt;set oSheetObj=QvDoc.GetSheetObject("CH01")&lt;/P&gt;&lt;P&gt;' Let the macro sleep for 20 seconds to make sure&lt;BR /&gt;' the chart is calculated before export&lt;BR /&gt;WScript.Sleep 20000&lt;BR /&gt;oSheetObj.ExportBIFF "E:\QVApplications\QVTest\qvexport.xls"&lt;/P&gt;&lt;P&gt;Set oSheetObj = Nothing&lt;BR /&gt;Set QvDoc = Nothing&lt;/P&gt;&lt;P&gt;' Close QlikView&lt;BR /&gt;Qv.quit&lt;/P&gt;&lt;P&gt;once you have the document, you could add&lt;/P&gt;&lt;P&gt;QvDoc.ReduceData&lt;/P&gt;&lt;P&gt;QvDoc.SaveAs "E:\................."&lt;/P&gt;&lt;P&gt;and set a loop up to do this for each of your users.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 21:07:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148773#M27016</guid>
      <dc:creator />
      <dc:date>2009-07-08T21:07:29Z</dc:date>
    </item>
    <item>
      <title>How to create several reduced qvw documents - no Publisher available</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148774#M27017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes you can use Qlikview "VB engine"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 21:07:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148774#M27017</guid>
      <dc:creator>blaise</dc:creator>
      <dc:date>2009-07-08T21:07:45Z</dc:date>
    </item>
    <item>
      <title>How to create several reduced qvw documents - no Publisher available</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148775#M27018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Blaise, Gordon... Thanks a lot for this! It works like a dream and saved me a lot of money!!!&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 21:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148775#M27018</guid>
      <dc:creator />
      <dc:date>2009-07-08T21:57:01Z</dc:date>
    </item>
    <item>
      <title>How to create several reduced qvw documents - no Publisher available</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148776#M27019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also email your newly created QV documents like this:&lt;/P&gt;&lt;P&gt;Set objMessage = CreateObject("CDO.Message")&lt;BR /&gt;&lt;BR /&gt;objMessage.Subject = "CustomerData.csv has been downloaded"&lt;BR /&gt;objMessage.From = "&lt;A href="mailto:itsupport.vcegb@volvo.com"&gt;itsupport.vcegb@volvo.com&lt;/A&gt;"&lt;BR /&gt;objMessage.To = "&lt;A href="mailto:gordon.savage@volvo.com"&gt;gordon.savage@volvo.com&lt;/A&gt;"&lt;BR /&gt;objMessage.TextBody = "The data file has been succesfully generated by the Qlikview Customer Segmentation document."&lt;BR /&gt;objMessage.AddAttachment "E:\QVApplications\QVTest\test.doc"&lt;/P&gt;&lt;P&gt;objMessage.Configuration.Fields.Item _&lt;BR /&gt;("&lt;A href="http://schemas.microsoft.com/cdo/configuration/sendusing"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;") = 2&lt;/P&gt;&lt;P&gt;objMessage.Configuration.Fields.Item _&lt;BR /&gt;("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpserver"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;") = "your email server"&lt;/P&gt;&lt;P&gt;objMessage.Configuration.Fields.Item _&lt;BR /&gt;("&lt;A href="http://schemas.microsoft.com/cdo/configuration/smtpserverport"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;") = 25&lt;/P&gt;&lt;P&gt;objMessage.Configuration.Fields.Update&lt;/P&gt;&lt;P&gt;objMessage.Send&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gordon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 22:45:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-several-reduced-qvw-documents-no-Publisher/m-p/148776#M27019</guid>
      <dc:creator />
      <dc:date>2009-07-08T22:45:21Z</dc:date>
    </item>
  </channel>
</rss>

