<?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: Link selections on a mashup with several apps in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Link-selections-on-a-mashup-with-several-apps/m-p/8023#M142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;I have done some work on this. Some recommendations:&lt;/P&gt;&lt;P&gt;- use one app as a master app, where the user makes selections in the common fields&lt;/P&gt;&lt;P&gt;- listen to the selections with List objects, created with &lt;A href="http://help.qlik.com/en-US/sense-developer/November2017/Subsystems/APIs/Content/CapabilityAPIs/AppAPI/createList-method.htm"&gt;createList&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- propagate the selections to the other apps with &lt;A href="http://help.qlik.com/en-US/sense-developer/November2017/Subsystems/APIs/Content/CapabilityAPIs/FieldAPI/select-method.htm"&gt;field.select&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you find this helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Jan 2018 13:14:29 GMT</pubDate>
    <dc:creator>ErikWetterberg</dc:creator>
    <dc:date>2018-01-27T13:14:29Z</dc:date>
    <item>
      <title>Link selections on a mashup with several apps</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Link-selections-on-a-mashup-with-several-apps/m-p/8021#M140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi qlik devs!&lt;/P&gt;&lt;P&gt;I want to build a mashup with several apps. These apps have some common fields used as dimension (Country, Product family....).&lt;/P&gt;&lt;P&gt;I want selections made on these fields to be applied to all the apps used by the mashup.&lt;/P&gt;&lt;P&gt;Has anyone done this kind of things?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess it can be done using&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #9cdcfe;"&gt;app&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;getList&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"CurrentSelections"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;, .....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;To listen to selection change, and then applying these to all apps. Probably using some buffer to store last state and trigger selections on change in order to avoid infinite loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd be glad to have some thoughts and feedback on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jan 2018 21:14:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Link-selections-on-a-mashup-with-several-apps/m-p/8021#M140</guid>
      <dc:creator>martinien</dc:creator>
      <dc:date>2018-01-26T21:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Link selections on a mashup with several apps</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Link-selections-on-a-mashup-with-several-apps/m-p/8022#M141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What you are suggesting sounds viable, although I have never tried it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I generally do for a mashup is a create dedicated qvf app for it.&amp;nbsp; So maybe you could create a single qvf app that contains the data your mashup needs, as opposed to trying to sync several qvf data source apps.&amp;nbsp; This may sound a bit of a palaver but I reckon would be quicker to do and end up with a more efficient and reliable mashup.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 10:10:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Link-selections-on-a-mashup-with-several-apps/m-p/8022#M141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-27T10:10:35Z</dc:date>
    </item>
    <item>
      <title>Re: Link selections on a mashup with several apps</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Link-selections-on-a-mashup-with-several-apps/m-p/8023#M142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;I have done some work on this. Some recommendations:&lt;/P&gt;&lt;P&gt;- use one app as a master app, where the user makes selections in the common fields&lt;/P&gt;&lt;P&gt;- listen to the selections with List objects, created with &lt;A href="http://help.qlik.com/en-US/sense-developer/November2017/Subsystems/APIs/Content/CapabilityAPIs/AppAPI/createList-method.htm"&gt;createList&lt;/A&gt;&lt;/P&gt;&lt;P&gt;- propagate the selections to the other apps with &lt;A href="http://help.qlik.com/en-US/sense-developer/November2017/Subsystems/APIs/Content/CapabilityAPIs/FieldAPI/select-method.htm"&gt;field.select&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you find this helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2018 13:14:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Link-selections-on-a-mashup-with-several-apps/m-p/8023#M142</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2018-01-27T13:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Link selections on a mashup with several apps</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Link-selections-on-a-mashup-with-several-apps/m-p/8024#M143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks again for the tips!&lt;/P&gt;&lt;P&gt;Using the createList method was clearly a better idea than dealing with the whole CurrentSelections object.&lt;/P&gt;&lt;P&gt;In the end I only had to propagate selections on a defined user action so I used createList to get selections, field.select to apply them and destroyed the list object in the end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2018 13:24:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Link-selections-on-a-mashup-with-several-apps/m-p/8024#M143</guid>
      <dc:creator>martinien</dc:creator>
      <dc:date>2018-02-02T13:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Link selections on a mashup with several apps</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Link-selections-on-a-mashup-with-several-apps/m-p/1666781#M12151</link>
      <description>&lt;P&gt;Hi Martin/Erik,&lt;/P&gt;&lt;P&gt;Can you share the code of how you achieved this? I am new to coding and trying to build process that applies the selections from one mashup to another.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jan 2020 14:25:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Link-selections-on-a-mashup-with-several-apps/m-p/1666781#M12151</guid>
      <dc:creator>srik00001</dc:creator>
      <dc:date>2020-01-17T14:25:52Z</dc:date>
    </item>
  </channel>
</rss>

