<?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 Re: Create a filename for ServerSideExportEx based on variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118864#M18317</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MsgBox &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; pathProvisions &amp;amp; "\" &amp;amp; "Provisions_" &amp;amp; dateProvisions.GetContent.String &amp;amp; ".xml"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Is unfortunately the only way out..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Nov 2018 13:32:44 GMT</pubDate>
    <dc:creator>jerrysvensson</dc:creator>
    <dc:date>2018-11-09T13:32:44Z</dc:date>
    <item>
      <title>Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118855#M18308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This seems like it should be SOOO SIMPLE but I'm pulling my hair out : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have table that the user will choose to save using a button.&amp;nbsp; &lt;/P&gt;&lt;P&gt;In my vbscript for the button, I am trying to modify the path and name where the ServerSideExportEx saves the file.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works:&lt;/P&gt;&lt;P&gt;tb.ServerSideExportEx "D:\QlikView_documents\Developpement\1-Sources\XML\Provisions.xml" , ";" , 3 '0=HTML, 1=Text, 2=Bitmap, 3=XML, 4=QVD, 5=BIFF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I'd like to pass the path and the file name as variables.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The file name will be "Provisions_" &amp;amp; [year - month selected].&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My file path and the year-month selected are both variables in the qwd, so I tried this : &lt;/P&gt;&lt;P&gt;set dateProvisions = ActiveDocument.Variables("vDateProvision")&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;set pathProvisions = ActiveDocument.Variables("vRepSourcesXml")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;set fileName = "Provisions_$(vDateProvision).xml"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This bombs.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My next work-around was to create a variable in the qwd that saves the file name as "Provisions_"&amp;amp;$(&lt;SPAN style="font-size: 13.3333px;"&gt;vDateProvision)&amp;amp;".xml"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I can't get my variable to work correctly either!&amp;nbsp; &lt;/P&gt;&lt;P&gt;In the variables menu, I set the variable to &lt;SPAN style="font-size: 13.3333px;"&gt;"Provisions_"&amp;amp;$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vDateProvision)&amp;amp;".xml" -- no good.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Then I tried concat(&lt;SPAN style="font-size: 13.3333px;"&gt;"Provisions_",$(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vDateProvision),".xml") -- also no good.&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Does anyone have any suggestions ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 11:34:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118855#M18308</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2018-11-08T11:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118856#M18309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;set dateProvisions = ActiveDocument.Variables("vDateProvision")&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;fileName = "Provisions_" &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;dateProvisions&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;.GetContent.String&lt;/SPAN&gt; &amp;amp;".xml"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 12:12:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118856#M18309</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2018-11-08T12:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118857#M18310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Opps, I forgot to mention that I tried that originally.&amp;nbsp; &lt;/P&gt;&lt;P&gt;This is where my vbscript stops.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 07:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118857#M18310</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2018-11-09T07:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118858#M18311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How does the content of the vDateProvision look like - and how does the content of dataProvisions look like exactly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 11:23:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118858#M18311</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-11-09T11:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118859#M18312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Peter.&lt;/P&gt;&lt;P&gt;Use MsgBox &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;dateProvisions&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;.GetContent.String to look at the value.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 11:40:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118859#M18312</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2018-11-09T11:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118860#M18313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my variables I set vDateProvision to this :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="vDateProvision.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/217962_vDateProvision.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when I run my script, I get &lt;/P&gt;&lt;P&gt;&lt;IMG alt="msgbox.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/217976_msgbox.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for info DateProvision is the Date selected.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 11:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118860#M18313</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2018-11-09T11:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118861#M18314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to be clear, the msgbox is showing the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set dateProvisions = ActiveDocument.Variables("vDateProvision")&lt;/P&gt;&lt;P&gt;ActiveDocument.GetApplication.MsgBox( dateProvisions.GetContent.String)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 11:49:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118861#M18314</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2018-11-09T11:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118862#M18315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok&lt;/P&gt;&lt;P&gt;So then &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;fileName = "Provisions_" &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;dateProvisions&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;.GetContent.String&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &amp;amp;".xml"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Should work&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;By the way. This is incorrect:.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Set&lt;/STRONG&gt; fileName = "Provisions_" &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;dateProvisions&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;.GetContent.String&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &amp;amp;".xml"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 12:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118862#M18315</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2018-11-09T12:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118863#M18316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just took out the set.&amp;nbsp; &lt;/P&gt;&lt;P&gt;It still doesn't work!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A new idea, can I set the file name directly in the tb.ServerSideExportEx line ?&amp;nbsp; &lt;/P&gt;&lt;P&gt;I just tried this : &lt;/P&gt;&lt;P&gt;tb.ServerSideExportEx pathProvisions &amp;amp; "\" &amp;amp; "Provisions_" &amp;amp; dateProvisions.GetContent.String &amp;amp; ".xml", ";" , 3 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it didn't work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there some way to run a debugger, or to get an error message ?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 12:54:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118863#M18316</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2018-11-09T12:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118864#M18317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MsgBox &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; pathProvisions &amp;amp; "\" &amp;amp; "Provisions_" &amp;amp; dateProvisions.GetContent.String &amp;amp; ".xml"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Is unfortunately the only way out..&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 13:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118864#M18317</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2018-11-09T13:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118865#M18318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the QlikView server account have write access to the path?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 13:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118865#M18318</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2018-11-09T13:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118866#M18319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The msgbox doesn't run.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So do you think that my dateProvisions is not a string - could that be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The server does have write access, cause if I leave it as :&lt;/P&gt;&lt;P&gt;tb.ServerSideExportEx "D:\QlikView_documents\Developpement\1-Sources\XML\Provisions_201809.xml" , ";" , 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works fine.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 13:49:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118866#M18319</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2018-11-09T13:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118867#M18320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Strange&lt;/P&gt;&lt;P&gt;I would try:&lt;/P&gt;&lt;P&gt;MsgBox &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;pathProvisions&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;.GetContent.String&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MsgBox &lt;/SPAN&gt; dateProvisions.GetContent.String &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Just to make sure everything is ok.&lt;/P&gt;&lt;P&gt;And then start adding them together one after the other. Using MsgBox&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 14:01:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118867#M18320</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2018-11-09T14:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118868#M18321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so your method helped.&amp;nbsp; Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the final thing that works correctly :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sub Save_Provisions&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;dim dateProvisions, fileName&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set tb = ActiveDocument.GetSheetObject("TB24")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set dateProvisions = ActiveDocument.Variables("vDateProvision")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set pathProvisions = ActiveDocument.Variables("vRepSourcesXml")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tb.ServerSideExportEx pathProvisions.GetContent.String&amp;nbsp; &amp;amp; "\" &amp;amp; "Provisions_" &amp;amp; dateProvisions.GetContent.String &amp;amp; ".xml", ";" , 3 &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;end sub&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I was missing a &lt;EM style="font-size: 13.3333px;"&gt;.GetContent.String &lt;/EM&gt;after pathProvisions.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for your help.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 14:16:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/118868#M18321</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2018-11-09T14:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create a filename for ServerSideExportEx based on variable</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/1505747#M436291</link>
      <description>&lt;P&gt;As Jerry pointed out if dateProvisions really is a variable object then&amp;nbsp;dateProvisions.GetContent.String should work. But if dateProvisions is not a variable object or nil then it will fail.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Nov 2018 06:45:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-filename-for-ServerSideExportEx-based-on-variable/m-p/1505747#M436291</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-11-14T06:45:59Z</dc:date>
    </item>
  </channel>
</rss>

