<?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 Automatic addition of ampersand in load (using variable) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Automatic-addition-of-ampersand-in-load-using-variable/m-p/116372#M8095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use variables in a load statement (so I can loop) bu have found something very strange. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The load is using a google sheet connector, syntax is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:5555/data?connectorID=GoogleDriveConnector&amp;amp;table=ListWorksheets&amp;amp;encrypted_refresh_token=**token" rel="nofollow" target="_blank"&gt;http://localhost:5555/data?connectorID=GoogleDriveConnector&amp;amp;table=ListWorksheets&amp;amp;encrypted_refresh_token=**token&lt;/A&gt;&lt;SPAN&gt; information here**&amp;amp;spreadsheetKey=**key here**&amp;amp;appID=]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(qvx);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to use a variable for the key, I seem to get an extra ampersand added in at the start of the key,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vKey = '**spreadsheet key**';&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:5555/data?connectorID=GoogleDriveConnector&amp;amp;table=ListWorksheets&amp;amp;encrypted_refresh_token=**token" rel="nofollow" target="_blank"&gt;http://localhost:5555/data?connectorID=GoogleDriveConnector&amp;amp;table=ListWorksheets&amp;amp;encrypted_refresh_token=**token&lt;/A&gt;&lt;SPAN&gt; information here**&amp;amp;spreadsheetKey=$(vKey)&amp;amp;appID=]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;(qvx);&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resolves to &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Let vKey = '**spreadsheet key**';&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:5555/data?connectorID=GoogleDriveConnector&amp;amp;table=ListWorksheets&amp;amp;encrypted_refresh_token=**token" rel="nofollow" target="_blank"&gt;http://localhost:5555/data?connectorID=GoogleDriveConnector&amp;amp;table=ListWorksheets&amp;amp;encrypted_refresh_token=**token&lt;/A&gt;&lt;SPAN&gt; information here**&amp;amp;spreadsheetKey=&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;&amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;**spreadsheet key**&amp;amp;appID=]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;(qvx);&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If I take out the ampersand prior it doesn't get added in, but obviously still won't work. I've tried adding that in via its own variable or with the token information, but it always still adds in the character in red above. I haven't a clue why this is doing what it is, let alone how to solve for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Aug 2018 06:00:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-08T06:00:37Z</dc:date>
    <item>
      <title>Automatic addition of ampersand in load (using variable)</title>
      <link>https://community.qlik.com/t5/App-Development/Automatic-addition-of-ampersand-in-load-using-variable/m-p/116372#M8095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use variables in a load statement (so I can loop) bu have found something very strange. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The load is using a google sheet connector, syntax is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:5555/data?connectorID=GoogleDriveConnector&amp;amp;table=ListWorksheets&amp;amp;encrypted_refresh_token=**token" rel="nofollow" target="_blank"&gt;http://localhost:5555/data?connectorID=GoogleDriveConnector&amp;amp;table=ListWorksheets&amp;amp;encrypted_refresh_token=**token&lt;/A&gt;&lt;SPAN&gt; information here**&amp;amp;spreadsheetKey=**key here**&amp;amp;appID=]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(qvx);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to use a variable for the key, I seem to get an extra ampersand added in at the start of the key,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let vKey = '**spreadsheet key**';&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:5555/data?connectorID=GoogleDriveConnector&amp;amp;table=ListWorksheets&amp;amp;encrypted_refresh_token=**token" rel="nofollow" target="_blank"&gt;http://localhost:5555/data?connectorID=GoogleDriveConnector&amp;amp;table=ListWorksheets&amp;amp;encrypted_refresh_token=**token&lt;/A&gt;&lt;SPAN&gt; information here**&amp;amp;spreadsheetKey=$(vKey)&amp;amp;appID=]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;(qvx);&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;resolves to &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Let vKey = '**spreadsheet key**';&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;FROM&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:5555/data?connectorID=GoogleDriveConnector&amp;amp;table=ListWorksheets&amp;amp;encrypted_refresh_token=**token" rel="nofollow" target="_blank"&gt;http://localhost:5555/data?connectorID=GoogleDriveConnector&amp;amp;table=ListWorksheets&amp;amp;encrypted_refresh_token=**token&lt;/A&gt;&lt;SPAN&gt; information here**&amp;amp;spreadsheetKey=&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;&amp;amp;&lt;/STRONG&gt;&lt;/SPAN&gt;**spreadsheet key**&amp;amp;appID=]&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;(qvx);&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If I take out the ampersand prior it doesn't get added in, but obviously still won't work. I've tried adding that in via its own variable or with the token information, but it always still adds in the character in red above. I haven't a clue why this is doing what it is, let alone how to solve for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2018 06:00:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Automatic-addition-of-ampersand-in-load-using-variable/m-p/116372#M8095</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-08T06:00:37Z</dc:date>
    </item>
  </channel>
</rss>

