<?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: Reading file as it is available from SharePoint Library in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487886#M182289</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pallav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I assume that if the file exists, it finds it when we dinamically form the name? Good!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the file does not exist, we change the value of the ErrorMode variable to 0,&lt;/P&gt;&lt;P&gt;which prevents QV from stopping the script execution if an error occurs.&lt;/P&gt;&lt;P&gt;We then try to load the table and afterwards check the variable ScriptError to see if an error has occurred.&lt;/P&gt;&lt;P&gt;If ScriptError has a value of 1 then no error occurred.&lt;/P&gt;&lt;P&gt;A value of 8 denotes that the error that occurred was that the file does not exist. We can replace the TRACE statements with the relevant actions to take. We then set ErrorMode back to it's default value of 1 and continue the rest of the script (thanks Matthew Fryer for the help!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;SET &lt;/STRONG&gt;&lt;EM style="color: #666666; font-family: monospace;"&gt;ErrorMode &lt;/EM&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;= 0; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Load * from [htp://mysharepointsite/..../$(vFilename)] (ooxml, ..., table is...)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;IF &lt;/STRONG&gt;&lt;SPAN style="font-family: monospace; color: #990000;"&gt;ScriptError&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;&amp;gt;1 &lt;/SPAN&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;AND &lt;/STRONG&gt;&lt;SPAN style="font-family: monospace; color: #990000;"&gt;ScriptError&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;&amp;lt;&amp;gt;8 &lt;/SPAN&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;THEN &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;TRACE &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Load previous month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let YearToLoad = Year(Today())-1;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let MonthToLoad = Month(Today())-1;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vFilename= 'YourFileName_' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MonthToLoad &lt;/SPAN&gt;&amp;amp; '_' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;YearToLoad &lt;/SPAN&gt;&amp;amp; '.xls';&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;ELSE &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;TRACE &lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;File loaded;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: monospace;"&gt;END IF &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;SET &lt;/STRONG&gt;&lt;EM style="color: #666666; font-family: monospace;"&gt;ErrorMode &lt;/EM&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;= 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;Hope this helps!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Nov 2013 14:19:04 GMT</pubDate>
    <dc:creator>salto</dc:creator>
    <dc:date>2013-11-06T14:19:04Z</dc:date>
    <item>
      <title>Reading file as it is available from SharePoint Library</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487881#M182284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to load an excel file from SharePoint Library to Qlikview. This file is uploaded once monthly and has no fixed date of uploading.&lt;/P&gt;&lt;P&gt;How can I load this file every month as soon as it is uploaded on sharepoint site?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pallav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 11:10:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487881#M182284</guid>
      <dc:creator />
      <dc:date>2013-11-06T11:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file as it is available from SharePoint Library</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487882#M182285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A very simple approach should be to schedule the reload every day at a certain hour. If both documents have the same name and the new document is still not available it will load the old data. As soon as it is available it will update the QV document with the Excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 11:13:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487882#M182285</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-11-06T11:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file as it is available from SharePoint Library</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487883#M182286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello Salto,&lt;/P&gt;&lt;P&gt;This is a once-monthly arriving file with filename_month_year.xls kind of format. So, all the files would be of different names. And if on sharepoint the file does not exist, script throws an error and reload gets failed on QVworkbench,&lt;/P&gt;&lt;P&gt;Is there any way, I can only reload the file when it is available or skip that reloading part when it is unavailable on sharepoint there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or can we make the reload status as 'success', if it does not find the file and reloads all other parts successfully?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pallav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 11:41:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487883#M182286</guid>
      <dc:creator />
      <dc:date>2013-11-06T11:41:01Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file as it is available from SharePoint Library</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487884#M182287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; would try setting two variables in the load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let CurrentYear = Year(Today());&lt;/P&gt;&lt;P&gt;Let CurrentMonth = Month(Today());&lt;/P&gt;&lt;P&gt;Let vFilename= 'YourFileName_' &amp;amp; CurrentMonth &amp;amp; '_' &amp;amp; CurrentYear &amp;amp; '.xls'; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load * from [htp://mysharepointsite/..../$(vFilename)] (ooxml, ..., table is...) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we can pass the filename as a parameter, QVwill try loading it. If it fails (because a file with such a name does not exist) it will show the last successful load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 12:40:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487884#M182287</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-11-06T12:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file as it is available from SharePoint Library</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487885#M182288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Salto,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had tried passing the file name as parameter itself- dynamically forming the name. But if it does not find that file, it throws that error which causes the 'reload failure' status on qvworkbench. Although I am loading all the other data sccessfully.&lt;/P&gt;&lt;P&gt;I am trying to avoid that error itself, if the file is not available- do not reload it. Is that possible?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pallav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 14:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487885#M182288</guid>
      <dc:creator />
      <dc:date>2013-11-06T14:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file as it is available from SharePoint Library</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487886#M182289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pallav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I assume that if the file exists, it finds it when we dinamically form the name? Good!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the file does not exist, we change the value of the ErrorMode variable to 0,&lt;/P&gt;&lt;P&gt;which prevents QV from stopping the script execution if an error occurs.&lt;/P&gt;&lt;P&gt;We then try to load the table and afterwards check the variable ScriptError to see if an error has occurred.&lt;/P&gt;&lt;P&gt;If ScriptError has a value of 1 then no error occurred.&lt;/P&gt;&lt;P&gt;A value of 8 denotes that the error that occurred was that the file does not exist. We can replace the TRACE statements with the relevant actions to take. We then set ErrorMode back to it's default value of 1 and continue the rest of the script (thanks Matthew Fryer for the help!)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;SET &lt;/STRONG&gt;&lt;EM style="color: #666666; font-family: monospace;"&gt;ErrorMode &lt;/EM&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;= 0; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Load * from [htp://mysharepointsite/..../$(vFilename)] (ooxml, ..., table is...)&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;IF &lt;/STRONG&gt;&lt;SPAN style="font-family: monospace; color: #990000;"&gt;ScriptError&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;&amp;gt;1 &lt;/SPAN&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;AND &lt;/STRONG&gt;&lt;SPAN style="font-family: monospace; color: #990000;"&gt;ScriptError&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;&amp;lt;&amp;gt;8 &lt;/SPAN&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;THEN &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;TRACE &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //Load previous month&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let YearToLoad = Year(Today())-1;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let MonthToLoad = Month(Today())-1;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Let vFilename= 'YourFileName_' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;MonthToLoad &lt;/SPAN&gt;&amp;amp; '_' &amp;amp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;YearToLoad &lt;/SPAN&gt;&amp;amp; '.xls';&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;ELSE &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;TRACE &lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;File loaded;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: blue; font-family: monospace;"&gt;END IF &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-family: monospace; color: blue;"&gt;SET &lt;/STRONG&gt;&lt;EM style="color: #666666; font-family: monospace;"&gt;ErrorMode &lt;/EM&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;= 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: monospace; background-color: #f7f7f7;"&gt;Hope this helps!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 14:19:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487886#M182289</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-11-06T14:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file as it is available from SharePoint Library</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487887#M182290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pallav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you have the chance to try this approach? It would be great to know if it worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 07:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487887#M182290</guid>
      <dc:creator>salto</dc:creator>
      <dc:date>2013-11-07T07:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file as it is available from SharePoint Library</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487888#M182291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Salto,&lt;/P&gt;&lt;P&gt;I already was trying something like this(did not use the exact error code earlier). It completes the reload but in qvworkbench it still says reload failure.&lt;/P&gt;&lt;P&gt;I am unable to avoid that message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pallav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 07:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487888#M182291</guid>
      <dc:creator />
      <dc:date>2013-11-07T07:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reading file as it is available from SharePoint Library</title>
      <link>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487889#M182292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is what I was trying to do, Salto.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vPrevMonth= Month(today()-1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET errormode=0;&lt;/P&gt;&lt;P&gt;sharepoint_data:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Load * from [&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sharepointsite..](ooxml...);"&gt;http://sharepointsite..](ooxml...);&lt;/A&gt;&lt;SPAN&gt; // loading last month data dynamically chaning the filename&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if Scripterror&amp;gt;1 and Scripterror=12 then&amp;nbsp; // 12 is the error code I get (wrong format)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;history_data:&lt;/P&gt;&lt;P&gt;Load * from history.qvd(qvd);&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;SET errormode=2;&lt;/P&gt;&lt;P&gt;history:&lt;/P&gt;&lt;P&gt;&amp;lt;do some transformation on pre-loaded sharepoint_data, then&amp;gt;&lt;/P&gt;&lt;P&gt;concatenate load * from history.qvd(qvd);&lt;/P&gt;&lt;P&gt;store history into history.qvd; // remaking the history qvd&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pallav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 07:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reading-file-as-it-is-available-from-SharePoint-Library/m-p/487889#M182292</guid>
      <dc:creator />
      <dc:date>2013-11-07T07:46:19Z</dc:date>
    </item>
  </channel>
</rss>

