<?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: Publishing App with different data source in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Publishing-App-with-different-data-source/m-p/1867086#M20867</link>
    <description>&lt;P&gt;Ok I see that. i did not know the syntax to use. I guess this means that I have to have all of my data sources "Predefined" and in the same space. I do not see in the SaaS version a way of creating SQL connectors on the fly and OLEDB Connect To only seems to apply to an on-prem version.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Dec 2021 13:22:05 GMT</pubDate>
    <dc:creator>Spartan27215</dc:creator>
    <dc:date>2021-12-06T13:22:05Z</dc:date>
    <item>
      <title>Publishing App with different data source</title>
      <link>https://community.qlik.com/t5/Management-Governance/Publishing-App-with-different-data-source/m-p/1866708#M20857</link>
      <description>&lt;P&gt;I am confused on how to connect to a different data source when an application is published. How is this accomplished without having to manually edit the data connections in each of the different spaces?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 21:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Publishing-App-with-different-data-source/m-p/1866708#M20857</guid>
      <dc:creator>Spartan27215</dc:creator>
      <dc:date>2021-12-03T21:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing App with different data source</title>
      <link>https://community.qlik.com/t5/Management-Governance/Publishing-App-with-different-data-source/m-p/1866743#M20858</link>
      <description>&lt;P&gt;Hi, probably there is a better way but you can use the app name to connect to a different sources, so if the app name starts with 'DEV_' it uses dev connection, the code may be something like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LET vDocumentTitle = DocumentTitle();
IF Upper(Left(vDocumentTitle,4))='DEV_' then
  SET vConnection = 'DEVConnection';
Else
  SET vConnection = 'PROConnection';
End If

LIB Connect to '$(vConnection)';&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Dec 2021 11:28:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Publishing-App-with-different-data-source/m-p/1866743#M20858</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-12-04T11:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing App with different data source</title>
      <link>https://community.qlik.com/t5/Management-Governance/Publishing-App-with-different-data-source/m-p/1867086#M20867</link>
      <description>&lt;P&gt;Ok I see that. i did not know the syntax to use. I guess this means that I have to have all of my data sources "Predefined" and in the same space. I do not see in the SaaS version a way of creating SQL connectors on the fly and OLEDB Connect To only seems to apply to an on-prem version.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 13:22:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Publishing-App-with-different-data-source/m-p/1867086#M20867</guid>
      <dc:creator>Spartan27215</dc:creator>
      <dc:date>2021-12-06T13:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Publishing App with different data source</title>
      <link>https://community.qlik.com/t5/Management-Governance/Publishing-App-with-different-data-source/m-p/1867246#M20869</link>
      <description>&lt;P&gt;Hi, yes, for SQL connectors you have the data connections predefined and the script choose wich one to use based on the app name.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 18:17:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Publishing-App-with-different-data-source/m-p/1867246#M20869</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-12-06T18:17:13Z</dc:date>
    </item>
  </channel>
</rss>

