<?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: On Demand App Generation using the same app as selection and template in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/On-Demand-App-Generation-using-the-same-app-as-selection-and/m-p/1574316#M10422</link>
    <description>&lt;P&gt;I figured why I was getting the error. After creating a link using the ODAG API, if I want to use said link,&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/February2019/apis/ODAGserviceAPI/index.html?page=13" target="_self"&gt;this call&lt;/A&gt;&amp;nbsp;needs to be made. It also needs to be called when the page loads or there is a page refresh, so the link can be utilized.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2019 08:34:45 GMT</pubDate>
    <dc:creator>marcelinoa</dc:creator>
    <dc:date>2019-04-29T08:34:45Z</dc:date>
    <item>
      <title>On Demand App Generation using the same app as selection and template</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/On-Demand-App-Generation-using-the-same-app-as-selection-and/m-p/1569879#M10350</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Is it possible to, with the ODAG API, make a link in which the template app Id is the same as the selection app Id?&amp;nbsp;&lt;BR /&gt;Using the normal process through qlik it show all the apps but not the app were I'm creating the link.&lt;/P&gt;&lt;P&gt;I tried doing it with the following code but when I go to generate it it always returns 400 Bad Request.&lt;/P&gt;&lt;PRE&gt;var linkAddPayload = {
	name: 'ODAG API Test App ' + nowTime,
	selectionApp: '7b8286c1-5f5c-4759-998f-82185048b2c7',
	templateApp: '7b8286c1-5f5c-4759-998f-82185048b2c7',
	rowEstExpr: 'Sum(FLIGHT_COUNT)',
	properties: {
		rowEstRange: [{
			context: '*',
			highBound: 10000
		}],
		appRetentionTime: [{
			context: 'User_*',
			retentionTime: 'P0DT1H'
		}],
		genAppLimit: [{
			context: 'User_*',
			limit: 5
		}],
		genAppName: [{
			context: "*",
			formatString: "{0}_{1}-{2}",
			params: ["templateAppName","userDirectory","userId"]
		}]
	}
}&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 Apr 2019 10:42:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/On-Demand-App-Generation-using-the-same-app-as-selection-and/m-p/1569879#M10350</guid>
      <dc:creator>marcelinoa</dc:creator>
      <dc:date>2019-04-16T10:42:04Z</dc:date>
    </item>
    <item>
      <title>Re: On Demand App Generation using the same app as selection and template</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/On-Demand-App-Generation-using-the-same-app-as-selection-and/m-p/1574316#M10422</link>
      <description>&lt;P&gt;I figured why I was getting the error. After creating a link using the ODAG API, if I want to use said link,&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/February2019/apis/ODAGserviceAPI/index.html?page=13" target="_self"&gt;this call&lt;/A&gt;&amp;nbsp;needs to be made. It also needs to be called when the page loads or there is a page refresh, so the link can be utilized.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 08:34:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/On-Demand-App-Generation-using-the-same-app-as-selection-and/m-p/1574316#M10422</guid>
      <dc:creator>marcelinoa</dc:creator>
      <dc:date>2019-04-29T08:34:45Z</dc:date>
    </item>
  </channel>
</rss>

