<?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: VBScript to JScript - Help in converting! in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056406#M354078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I understand &lt;A href="https://community.qlik.com/qlik-users/192025"&gt;petter.skjolden&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Much. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am Setting a Path Variable (which is already in my script to store the QVD like this ), but failing here - &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;vRootFileLocation and &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;vQVDs are already predefined in the Load Script and bringing in below. &lt;/STRONG&gt;&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;Set vRootFileLocation = Activedocument.Variables("vRootFileLocation")&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Set vQVDs = Activedocument.Variables("vQVDs")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;obj.ExportEx (vRootFileLocation&lt;SPAN style="font-size: 13.3333px;"&gt;vQVDs&lt;/SPAN&gt;&amp;amp;"Export_"&amp;amp;vDocName&amp;amp;vExportTime&amp;amp;".qvd" , ";" , 4)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Apr 2016 16:29:22 GMT</pubDate>
    <dc:creator>dmohanty</dc:creator>
    <dc:date>2016-04-05T16:29:22Z</dc:date>
    <item>
      <title>VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056404#M354076</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;Hi &lt;A _jive_internal="true" class="jiveTT-hover-user jive-link-profile-small" data-containerid="-1" data-containertype="-1" data-objectid="146975" data-objecttype="3" href="https://community.qlik.com/people/petter-s" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;petter-s&lt;/A&gt; ; &lt;A _jive_internal="true" class="jiveTT-hover-user jive-link-profile-small" data-containerid="-1" data-containertype="-1" data-objectid="192025" data-objecttype="3" href="https://community.qlik.com/people/petter.skjolden" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;petter.skjolden&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Can you please help me here with one more please in converting from VBScript to JScript -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sub Export&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;vExportTime = Year(Now()) &amp;amp; Right("0" &amp;amp; Month(Now()), 2) &amp;amp; Right("0" &amp;amp; Day(Now()), 2) &amp;amp; " " &amp;amp; Right("0" &amp;amp; Hour(Now()), 2) &amp;amp; Right("0" &amp;amp; Minute(Now()), 2) &amp;amp; Right("0" &amp;amp; Second(Now()), 2)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;set obj = ActiveDocument.GetSheetObject("LB98")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;obj.ServerSideExportEx "C:\Users\dicky.mohanty\Documents\Bookmark Documents\Export_"&amp;amp;vExportTime&amp;amp;".qvd" , ";" , 4 '0=HTML, 1=Text, 2=Bitmap, 3=XML, 4=QVD, 5=BIFF&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;end sub&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;Also - Is it possible to use Relative Path/ Registry Path (for exporting into QVD) in Macro too, so as not to change them every time when we change environments from DEV to STG to PROD?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 12:42:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056404#M354076</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2016-04-05T12:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056405#M354077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can write this in JScript like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14598731947607914 jive_text_macro" jivemacro_uid="_14598731947607914" modifiedtitle="true"&gt;
&lt;P&gt;var dt = new Date();&lt;/P&gt;
&lt;P&gt;var m = dt.getMonth()+1;&lt;/P&gt;
&lt;P&gt;var d = dt.getDate();&lt;/P&gt;
&lt;P&gt;var hh = dt.getHours();&lt;/P&gt;
&lt;P&gt;var mm = dt.getMinutes();&lt;/P&gt;
&lt;P&gt;var ss = dt.getSeconds();&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;var vExportTime2 = dt.getYear()+((m&amp;lt;10?'0':'')+ m)+((d&amp;lt;10?'0':'')+d)+' '+((hh&amp;lt;10?'0':'')+hh)+':'+((mm&amp;lt;10?'0':'')+mm)+':'+((ss&amp;lt;10?'0':'')+ss);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this if you want a general padding function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14598733640006860 jive_text_macro" jivemacro_uid="_14598733640006860" modifiedtitle="true"&gt;
&lt;P&gt;function padNum( n , separator ) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; return ((n&amp;lt;10?'0':'') + n) + (separator==undefined?'':separator)&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;var dt = new Date();&lt;/P&gt;
&lt;P&gt;var m = dt.getMonth()+1;&lt;/P&gt;
&lt;P&gt;var d = dt.getDate();&lt;/P&gt;
&lt;P&gt;var hh = dt.getHours();&lt;/P&gt;
&lt;P&gt;var mm = dt.getMinutes();&lt;/P&gt;
&lt;P&gt;var ss = dt.getSeconds();&lt;/P&gt;
&lt;P&gt;var vExportTime1 = dt.getYear()+padNum(m)+padNum(d,' ')+padNum(hh,':')+padNum(mm,':')+padNum(ss);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 16:23:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056405#M354077</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-04-05T16:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056406#M354078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I understand &lt;A href="https://community.qlik.com/qlik-users/192025"&gt;petter.skjolden&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Much. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am Setting a Path Variable (which is already in my script to store the QVD like this ), but failing here - &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;vRootFileLocation and &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;vQVDs are already predefined in the Load Script and bringing in below. &lt;/STRONG&gt;&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;Set vRootFileLocation = Activedocument.Variables("vRootFileLocation")&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Set vQVDs = Activedocument.Variables("vQVDs")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;obj.ExportEx (vRootFileLocation&lt;SPAN style="font-size: 13.3333px;"&gt;vQVDs&lt;/SPAN&gt;&amp;amp;"Export_"&amp;amp;vDocName&amp;amp;vExportTime&amp;amp;".qvd" , ";" , 4)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 16:29:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056406#M354078</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2016-04-05T16:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056407#M354079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;A href="https://community.qlik.com/qlik-users/192025"&gt;petter.skjolden&lt;/A&gt;‌ , &lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I changed the format to support in JScript, but still its failing here - -&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;obj.ExportEx ('&lt;SPAN style="font-size: 13.3333px;"&gt;vRootFileLocation&lt;/SPAN&gt;\A.qvd', '4')&lt;/STRONG&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defeined the Variable like this -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var vRootFileLocation = ActiveDocument.Variables("vRootFileLocation")&lt;/P&gt;&lt;P&gt;obj = ActiveDocument.GetSheetObject("LB_Bookmark");&lt;/P&gt;&lt;P&gt;obj.ExportEx ('&lt;SPAN style="font-size: 13.3333px;"&gt;vRootFileLocation&lt;/SPAN&gt;\A.qvd', '4')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 17:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056407#M354079</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2016-04-05T17:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056408#M354080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_145987981154677" jivemacro_uid="_145987981154677" modifiedtitle="true"&gt;
&lt;P&gt;var doc = ActiveDocument;&lt;/P&gt;
&lt;P&gt;var vQVDs = doc.GetVariable('vQVDs').GetContent().String;&lt;/P&gt;
&lt;P&gt;obj = doc.GetSheetObject('CH01');&lt;/P&gt;
&lt;P&gt;obj.ExportEx(vQVDs + 'myQVD.QVD' , 4 );&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 9pt; line-height: 12pt;"&gt;// Can be used on both a server - if the QVW is run on a server - and on a client if run locally with QlikView Desktop&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;obj.ServerSideExportEx( vQVDs + 'myQVD2.QVD' , '' , 4 );&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 18:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056408#M354080</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-04-05T18:11:06Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056409#M354081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you &lt;A href="https://community.qlik.com/qlik-users/192025"&gt;petter.skjolden&lt;/A&gt;‌ , &lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried like this below - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var doc = ActiveDocument;&amp;nbsp; &lt;/P&gt;&lt;P&gt;var vRootFileLocation = doc.GetVariable('vRootFileLocation').GetContent().String; &lt;/P&gt;&lt;P&gt;var vQVDs = doc.GetVariable('vQVDs').GetContent().String; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;obj = doc.GetSheetObject('LB_Bookmark');&amp;nbsp; &lt;/P&gt;&lt;P&gt;obj.ExportEx(vQVDs + 'Exp.QVD' , 4 );&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But getting error at last line - Object doesn't support this property or method&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 18:19:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056409#M354081</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2016-04-05T18:19:22Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056410#M354082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to have a variable called vQVDs in your QlikView application already defined. This variable also has to return a string. The string has to end with a backslash. This code works well for me...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 18:25:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056410#M354082</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-04-05T18:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056411#M354083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Thank you &lt;A href="https://community.qlik.com/qlik-users/192025"&gt;petter.skjolden&lt;/A&gt;‌ , &lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already have two predefined variables in my Script -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET &lt;STRONG&gt;vRootFileLocation&lt;/STRONG&gt; = GetRegistryString('HKEY_LOCAL_MACHINE\SOFTWARE\QlikView','RootFolderLocation');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let &lt;STRONG&gt;vQVDs&lt;/STRONG&gt; = '\QVDs\';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still trying, if I am missing anything.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 18:33:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056411#M354083</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2016-04-05T18:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056412#M354084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly does the vRootFileLocation contain?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 18:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056412#M354084</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-04-05T18:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056413#M354085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/qlik-users/192025"&gt;petter.skjolden&lt;/A&gt;‌ , &lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;‌, &lt;BR /&gt;&lt;/STRONG&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;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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;&lt;STRONG&gt;vRootFileLocation&amp;nbsp; &lt;/STRONG&gt;is the Server Path Name, that we are storing in Registry Files to be consistent across Environments (DEV,STG,PROD)&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-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;vRootFileLocation&amp;nbsp; &lt;/STRONG&gt;= \\clientnetwork.net\Applications\OH001\QlikView\DataFilesStg\QlikView_Files\&lt;/SPAN&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;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;vQVDs&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; = '\QVDs\'&lt;/SPAN&gt;&lt;/SPAN&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;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;so finally, my QVD to be exported to&amp;nbsp; - &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;\\clientnetwork.net\Applications\OH001\QlikView\DataFilesStg\QlikView_Files&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;\QVDs\&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 18:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056413#M354085</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2016-04-05T18:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056414#M354086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if ExportEx accepts UNC-paths in a file name at all. Try to save to a drive letter instead and see how that works....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 19:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056414#M354086</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-04-05T19:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056415#M354087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However the ServerSideExportEx (using VBScript) was successfully accepting the UNC Path and was storing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something strange and weird here it seems - &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not storing , when I am using like this too --&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;obj = doc.GetSheetObject("LB_Bookmark"); &lt;/P&gt;&lt;P&gt;obj.ExportEx('C:\Users\pa-dicky.mohanty\Documents\Exp.QVD',4); &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 20:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056415#M354087</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2016-04-05T20:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056416#M354088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;‌ , &lt;A href="https://community.qlik.com/qlik-users/192025"&gt;petter.skjolden&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just to let you know -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UNC Path is accepted and now its storing the QVD perfectly.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;However, can you please help - how to store the QVD in a specific format? I want to append the values of the &lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;STRONG&gt;vDocName and &lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM&gt;vExportTime to the QVD and store them to make the QVDs unique.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;EM&gt;Wanted to store QVD as Export_ExportDocument_20160405 165021.qvd&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function Export() {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var dt = new Date(); &lt;/P&gt;&lt;P&gt;var m = dt.getMonth()+1; &lt;/P&gt;&lt;P&gt;var d = dt.getDate(); &lt;/P&gt;&lt;P&gt;var hh = dt.getHours(); &lt;/P&gt;&lt;P&gt;var mm = dt.getMinutes(); &lt;/P&gt;&lt;P&gt;var ss = dt.getSeconds(); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var vExportTime = dt.getYear()+((m&amp;lt;10?'0':'')+ m)+((d&amp;lt;10?'0':'')+d)+' '+((hh&amp;lt;10?'0':'')+hh)+':'+((mm&amp;lt;10?'0':'')+mm)+':'+((ss&amp;lt;10?'0':'')+ss); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var doc = ActiveDocument;&lt;/P&gt;&lt;P&gt;var vDocName = doc.GetVariable('vDocName').GetContent().String;&lt;/P&gt;&lt;P&gt;var vRootFileLocation = doc.GetVariable('vRootFileLocation').GetContent().String;&amp;nbsp; &lt;/P&gt;&lt;P&gt;var vQVDs = doc.GetVariable('vQVDs').GetContent().String; &lt;/P&gt;&lt;P&gt;obj = doc.GetSheetObject("LB_Bookmark"); &lt;/P&gt;&lt;P&gt;obj.ServerSideExport( vRootFileLocation + vQVDs +&amp;nbsp; '&lt;STRONG&gt;Export_"&amp;amp;vDocName&amp;amp;vExportTime&lt;/STRONG&gt;&amp;amp;".qvd',4); &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 20:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056416#M354088</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2016-04-05T20:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056417#M354089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes that should work well. But note that Javascript (JScript) does NOT use the &amp;amp; as a string concatenation operator. In Javascript you must use the + operator to concatenate strings.&lt;/P&gt;&lt;P&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;obj.ServerSideExport( vRootFileLocation &lt;STRONG&gt;+&lt;/STRONG&gt; vQVDs &lt;STRONG&gt;+&lt;/STRONG&gt; &lt;STRONG&gt; &lt;/STRONG&gt;'&lt;/SPAN&gt;Export_' &lt;STRONG&gt;+&lt;/STRONG&gt; vDocName &lt;STRONG&gt;+&lt;/STRONG&gt; vExportTime &lt;STRONG&gt;+&lt;/STRONG&gt; '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;.qvd',4);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you should not mix quote characters. Just use single quotes or just use double quotes. In Javascript it is optional which you use. In VBScript you have to use double quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I prefer to always use single quotes with Javascript.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 21:31:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056417#M354089</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-04-05T21:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056418#M354090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well &lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;, &lt;A href="https://community.qlik.com/qlik-users/192025"&gt;petter.skjolden&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried a lot of Permutations and Combinations - and had already tried using the same way, as you have mentioned (either single quote or double quote).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;When I am using the variable &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;vDocName&amp;nbsp; - quickly it is getting stored as desired. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;obj.ServerSideExport( vRootFileLocation + vQVDs + 'Export_' + vDocName +&amp;nbsp; '.qvd' , 4) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;When I am using the variable &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;vExportTime - it is taking time to execute and document hangs some time.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;obj.ServerSideExport( vRootFileLocation + vQVDs + 'Export_' + &lt;SPAN style="font-size: 13.3333px;"&gt;vExportTime &lt;/SPAN&gt;+&amp;nbsp; '.qvd' , 4) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure why.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 21:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056418#M354090</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2016-04-05T21:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056419#M354091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;‌ , &lt;A href="https://community.qlik.com/qlik-users/192025"&gt;petter.skjolden&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good News!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used like this instead of the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;vExportTime&amp;nbsp; and it worked magically. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;obj.ServerSideExport( vRootFileLocation + vQVDs + 'Export_' + vDocName + '_' + yr + m + d + hh + mm + ss + '.qvd' , 4) ; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 22:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056419#M354091</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2016-04-05T22:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056420#M354092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you can mark the question as answered then... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 22:07:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056420#M354092</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2016-04-05T22:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056421#M354093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.qlik.com/qlik-users/146975"&gt;petter-s&lt;/A&gt;‌, &lt;A href="https://community.qlik.com/qlik-users/192025"&gt;petter.skjolden&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Surely I am going to mark it now as correct for your great help. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;However, as small twist -&lt;/STRONG&gt; The List Box is exporting all the records from it. I was expecting only the Possible/Selected Values only.&lt;/P&gt;&lt;P&gt;Any other script we need to add?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying for some other changes to make it possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 02:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056421#M354093</guid>
      <dc:creator>dmohanty</dc:creator>
      <dc:date>2016-04-06T02:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056422#M354094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of LB, create a Table Box with single filed and minimize the TB object. Try to export Table Box to QVD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wondering what is use case storing LB to QVD? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 03:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056422#M354094</guid>
      <dc:creator />
      <dc:date>2016-04-06T03:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: VBScript to JScript - Help in converting!</title>
      <link>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056423#M354095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;You can also try,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;function Test()&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; {&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="line-height: 1.5em; font-size: 10pt;"&gt; currtime =&amp;nbsp; new Date();&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="line-height: 1.5em; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="line-height: 1.5em; font-size: 10pt;"&gt;&amp;nbsp; vYear&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; currtime.getFullYear();&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; vMonth&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ('0' + (currtime.getMonth()+1)).slice(-2);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; vDay&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ('0' + (currtime.getDate())).slice(-2);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; vHour&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ('0' + (currtime.getHours())).slice(-2);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; vMinute&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ('0' + (currtime.getMinutes())).slice(-2);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp; vSeconds&amp;nbsp; =&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ('0' + (currtime.getSeconds())).slice(-2);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;vExportTime = vYear + vMonth + vDay + " " + vHour + vMinute + vSeconds;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; doc = ActiveDocument;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style=": ; line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; vRootFileLocation = doc.GetVariable('vRootFileLocation').GetContent().String; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style=": ; line-height: 1.5em; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; vQVDs = doc.GetVariable('vQVDs').GetContent().String;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt; vDocName = doc.GetVariable('vDocName').GetContent().String;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="line-height: 1.5em;"&gt;obj = doc.GetSheetObject("LB_Bookmark");&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;obj.ServerSideExport( vRootFileLocation &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;+&lt;/STRONG&gt; vQVDs &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;+&lt;/STRONG&gt; "&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Export_" &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+ &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vDocName &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; vExportTime &lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; ".&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;qvd",4);&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2016 04:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/VBScript-to-JScript-Help-in-converting/m-p/1056423#M354095</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-04-06T04:57:27Z</dc:date>
    </item>
  </channel>
</rss>

