<?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: qElemNumber Persistence in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/qElemNumber-Persistence/m-p/1514480#M9586</link>
    <description>&lt;P&gt;The qElemNumbers are assigned to the values in script load order.&amp;nbsp; Loading different values or even the same set of values in a different order will change the assigned &lt;SPAN&gt;qElemNumbers&amp;nbsp;&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Qlik Sense bookmarks retains the set of qText values, or the search argument if a search was used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Nov 2018 19:06:42 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2018-11-29T19:06:42Z</dc:date>
    <item>
      <title>qElemNumber Persistence</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/qElemNumber-Persistence/m-p/1514451#M9584</link>
      <description>&lt;P&gt;Hello, I am currently working on a custom bookmarking solution in my web application. I know that there is support for creating bookmarks through the Bookmark API, but for reasons I won't go bore you with I decided to go with a customized approach. As part of it, I am using the Engine API to retrieve the selected values of certain fields, and store those field's qElemNumber separately for later use. It occurred to me that because these qElemNumbers are Qlik Sense's way of internally indexing field values, they may not match when data is added/modified.&lt;/P&gt;&lt;P&gt;For instance, User A makes selections on Country and selects the following values:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;{qText: "Argentina", qElemNumber: 1}&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;{qText: "&lt;/SPAN&gt;Britain&lt;SPAN&gt;", qElemNumber: 2}&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;{qText: "&lt;/SPAN&gt;United States&lt;SPAN&gt;", qElemNumber: 3}&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;User A then decides they want to make a bookmark for their current selections. We store the values [1, 2, 3] in our custom bookmark. A week goes by and User A is using our app and wants to apply the bookmark they had previously made. We retrieve the stored values and call the SelectListObjectValues() method from the Engine API. The problem is, 2 days ago the app was reloaded and "Japan" was added as a possible country.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My question is, will the qElemNumbers still match what they were previously, or will this cause the bookmark to make the wrong selections? Also, if anyone knows how Qlik Sense stores bookmarks internally, it would be good to know.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/qElemNumber-Persistence/m-p/1514451#M9584</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2024-11-16T07:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: qElemNumber Persistence</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/qElemNumber-Persistence/m-p/1514480#M9586</link>
      <description>&lt;P&gt;The qElemNumbers are assigned to the values in script load order.&amp;nbsp; Loading different values or even the same set of values in a different order will change the assigned &lt;SPAN&gt;qElemNumbers&amp;nbsp;&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Qlik Sense bookmarks retains the set of qText values, or the search argument if a search was used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 19:06:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/qElemNumber-Persistence/m-p/1514480#M9586</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2018-11-29T19:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: qElemNumber Persistence</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/qElemNumber-Persistence/m-p/1514493#M9587</link>
      <description>&lt;P&gt;Awesome! Thanks for the info Rob!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Nov 2018 19:30:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/qElemNumber-Persistence/m-p/1514493#M9587</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2018-11-29T19:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: qElemNumber Persistence</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/qElemNumber-Persistence/m-p/1528631#M9825</link>
      <description>&lt;P&gt;I discovered something through my testing and thought I would share it. If you make a ListObject using an expression for the field (e.g. &lt;EM&gt;=if(Continent = 'North America', Country)&lt;/EM&gt; or&amp;nbsp;&lt;EM&gt;=aggr(only({1&amp;lt;Continent = {'North America'}&amp;gt;} DISTINCT Country, Country)&lt;/EM&gt;), the qElemNumbers of the values that are returned through GetListObjectData() will NOT be the same as the qElemNumbers of 'Country'.&lt;/P&gt;&lt;P&gt;I assume this is because Qlik Sense is creating some transient field based on the expression rather than just&amp;nbsp;reducing the field.&lt;/P&gt;&lt;P&gt;Just thought I'd share &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 20:59:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/qElemNumber-Persistence/m-p/1528631#M9825</guid>
      <dc:creator>dselgo_eidex</dc:creator>
      <dc:date>2019-01-09T20:59:34Z</dc:date>
    </item>
  </channel>
</rss>

