<?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: Load script from excel in a sharepoint in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-script-from-excel-in-a-sharepoint/m-p/2020379#M11819</link>
    <description>&lt;P&gt;if someone has the same issue, I solved it quite simply:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;$(Include=[lib://QS_Projects_BA_Standard_Data/10_Shared/20_Include/20_Functions/01_IT_Web_Connector/20_Specific/10_Sharepoint_O365/10_Files/GetFileQlikSelf_XXXqvs]);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LET Connection_3 = '';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LET File_3 = '&lt;A href="https://mycompany.sharepoint.com/sites/QlikSenseSelfServiceBA/Documents%20partages/XXX%20XXX/30_External%20source%20files/XXX/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://mycompany.sharepoint.com/sites/QlikSenseSelfServiceBA/Documents%20partages/XXX%20XXX/30_Exte...&lt;/A&gt;&lt;FONT color="#FF0000"&gt;XXX_Daily_Data.xlsx&lt;/FONT&gt;';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LET Sheet_3='&lt;FONT color="#FF0000"&gt;XXX_Accumulated'&lt;/FONT&gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LET Header_3 = 0;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CALL GetFileQlikSelf_XXX(Connection_3,File_3,Sheet_3,Header_3)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;QUALIFY *;&lt;BR /&gt;[XXX_Export]:&lt;BR /&gt;LOAD *&lt;BR /&gt;Resident [XXX_Daily_Data.xlsx];&lt;BR /&gt;DROP TABLE [XXX_Daily_Data.xlsx];&lt;BR /&gt;UNQUALIFY *;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically I'm uploading the table, I'm creating a new one referencing the one I've already uploaded and adding the prefix with "Qaulify, unqualify" statement and dropping the first one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not very elegant as I wanted to do it all in one step but it works.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
    <pubDate>Wed, 28 Dec 2022 15:33:59 GMT</pubDate>
    <dc:creator>ArmandP</dc:creator>
    <dc:date>2022-12-28T15:33:59Z</dc:date>
    <item>
      <title>Load script from excel in a sharepoint</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-script-from-excel-in-a-sharepoint/m-p/2020095#M11812</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;My company has given to me access for being able to develop things in Qlik but there are some features that I've not available. For example for the data prep I can only do it through script, and here is where I have some doubts:&lt;/P&gt;
&lt;P&gt;I have an excel in a sharepint and I want to create a connection with it so every time I refresh, it's data gets refreshed too.&lt;/P&gt;
&lt;P&gt;So far they have given me a sample script with what I can start:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%" height="179px"&gt;&lt;EM&gt;$(Include=[lib://QS_Projects_BA_Standard_Data/10_Shared/20_Include/20_Functions/01_IT_Web_Connector/20_Specific/10_Sharepoint_O365/10_Files/GetFileQlikSelf_XXXqvs]);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LET Connection_3 = '';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LET File_3 = '&lt;A href="https://mycompany.sharepoint.com/sites/QlikSenseSelfServiceBA/Documents%20partages/XXX%20XXX/30_External%20source%20files/XXX/" target="_blank" rel="noopener"&gt;https://mycompany.sharepoint.com/sites/QlikSenseSelfServiceBA/Documents%20partages/XXX%20XXX/30_External%20source%20files/XXX/&lt;/A&gt;&lt;FONT color="#FF0000"&gt;XXX_Daily_Data.xlsx&lt;/FONT&gt;'; &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LET Sheet_3='&lt;FONT color="#FF0000"&gt;XXX_Accumulated'&lt;/FONT&gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LET Header_3 = 0;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CALL GetFileQlikSelf_XXX(Connection_3,File_3,Sheet_3,Header_3)&lt;/EM&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this code what I've found when I run it is that the table name is the deafult excel name and the fields are named (excel name+ the column name).&lt;/P&gt;
&lt;P&gt;I would like to have something similar to the following:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;
&lt;P&gt;[New_Table]:&lt;/P&gt;
&lt;P&gt;LOAD *&lt;/P&gt;
&lt;P&gt;FROM &lt;FONT color="#FF0000"&gt;route?&lt;/FONT&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I can upload the table directly with the name I want, instead of having to to another load this time with the correct table name and then drop the previous table:&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;&lt;EM&gt; RESIDENT [XXX_Daily_Data.xlsx];&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;DROP TABLE [XXX_Daily_Data.xlsx];&lt;/EM&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also I don't know what's exacly doing the first part of the code:&amp;nbsp;&lt;/P&gt;
&lt;TABLE border="1" width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="100%"&gt;
&lt;P&gt;&lt;EM&gt;$(Include=[lib://QS_Projects_BA_Standard_Data/10_Shared/20_Include/20_Functions/01_IT_Web_Connector/20_Specific/10_Sharepoint_O365/10_Files/GetFileQlikSelf_XXXqvs]);&lt;/EM&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help is welcome. Thank you very much!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Dec 2022 14:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-script-from-excel-in-a-sharepoint/m-p/2020095#M11812</guid>
      <dc:creator>ArmandP</dc:creator>
      <dc:date>2022-12-27T14:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Load script from excel in a sharepoint</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-script-from-excel-in-a-sharepoint/m-p/2020379#M11819</link>
      <description>&lt;P&gt;if someone has the same issue, I solved it quite simply:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;$(Include=[lib://QS_Projects_BA_Standard_Data/10_Shared/20_Include/20_Functions/01_IT_Web_Connector/20_Specific/10_Sharepoint_O365/10_Files/GetFileQlikSelf_XXXqvs]);&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LET Connection_3 = '';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LET File_3 = '&lt;A href="https://mycompany.sharepoint.com/sites/QlikSenseSelfServiceBA/Documents%20partages/XXX%20XXX/30_External%20source%20files/XXX/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://mycompany.sharepoint.com/sites/QlikSenseSelfServiceBA/Documents%20partages/XXX%20XXX/30_Exte...&lt;/A&gt;&lt;FONT color="#FF0000"&gt;XXX_Daily_Data.xlsx&lt;/FONT&gt;';&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LET Sheet_3='&lt;FONT color="#FF0000"&gt;XXX_Accumulated'&lt;/FONT&gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;LET Header_3 = 0;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CALL GetFileQlikSelf_XXX(Connection_3,File_3,Sheet_3,Header_3)&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;QUALIFY *;&lt;BR /&gt;[XXX_Export]:&lt;BR /&gt;LOAD *&lt;BR /&gt;Resident [XXX_Daily_Data.xlsx];&lt;BR /&gt;DROP TABLE [XXX_Daily_Data.xlsx];&lt;BR /&gt;UNQUALIFY *;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically I'm uploading the table, I'm creating a new one referencing the one I've already uploaded and adding the prefix with "Qaulify, unqualify" statement and dropping the first one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not very elegant as I wanted to do it all in one step but it works.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 15:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-script-from-excel-in-a-sharepoint/m-p/2020379#M11819</guid>
      <dc:creator>ArmandP</dc:creator>
      <dc:date>2022-12-28T15:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Load script from excel in a sharepoint</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-script-from-excel-in-a-sharepoint/m-p/2110103#M12740</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="UserName lia-user-name lia-user-rank-Contributor-II lia-component-message-view-widget-author-username"&gt; &lt;A id="link_2" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.qlik.com/t5/user/viewprofilepage/user-id/212069" target="_self" aria-label="View Profile of ArmandP" aria-describedby="userProfileCard-212069"&gt;&lt;SPAN class=""&gt;ArmandP&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt;, able to share the whole solution including the script for&lt;EM&gt; GetFileQlikSelf_XXX(Connection_3,File_3,Sheet_3,Header_3)? Thank you.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Aug 2023 02:06:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Load-script-from-excel-in-a-sharepoint/m-p/2110103#M12740</guid>
      <dc:creator>nich_olas</dc:creator>
      <dc:date>2023-08-27T02:06:35Z</dc:date>
    </item>
  </channel>
</rss>

