<?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: Saving User preference in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998773#M3885</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are ways of saving data, it's called GenericObjects. You are free to create your own if you wish.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We are actively trying to avoid hitting the QRS which for a single screen/entity system like Navision or R3 make sense. But for a high performance and click intensive system like Qlik you do not want to query disk/perform IO if you can avoid it. You have a in-memory storage option available, why not use it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2015 13:50:53 GMT</pubDate>
    <dc:creator>Alexander_Thor</dc:creator>
    <dc:date>2015-08-28T13:50:53Z</dc:date>
    <item>
      <title>Saving User preference</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998764#M3876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to create a table having multiple columns and allow user to choose columns to views. For e.g there could be 10 dimensions added in a table but user wants to see only 5 of them , then they should be able to choose 5 out of 10. At the same time we want that to be persisted. So if the same user logs&amp;nbsp; in again he should only see those 5 column he selected earlier similarly every users can have their own selection persisted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieve this in qlik sense ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Aug 2015 10:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998764#M3876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-26T10:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Saving User preference</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998765#M3877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Either you have an external store that you store this into, i.e not Qlik related so pick whatever you are comfortable with.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Or you could store it as a full dynamic property on the object, this however is not something I would recommend as the users would have to have full edit rights on the objects so you will have to edit quite a lot of the default security rules to allow users to persist changes to a published object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 16:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998765#M3877</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-08-27T16:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Saving User preference</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998766#M3878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please think of to add a seperate area for third party extension. I don't like the approach that every third party extension has to install an own external storage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you like to be a plattform, delivery also a possibility to add own storage to the repository. In SAP like Z Tables, in Navision Tables with a special number,...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So we need own repository extensions to save own stuff.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 06:18:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998766#M3878</guid>
      <dc:creator>konrad_mattheis</dc:creator>
      <dc:date>2015-08-28T06:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Saving User preference</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998767#M3879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even if this is not the best aproach, save it in a Variable, Hidden Bookmark (users can also save bookmarks with standard security rules in published apps),...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 06:20:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998767#M3879</guid>
      <dc:creator>konrad_mattheis</dc:creator>
      <dc:date>2015-08-28T06:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Saving User preference</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998768#M3880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, no I agree that is not a good approach.&lt;/P&gt;&lt;P&gt;To avoid merge/save conflicts you would have to create 1 variable per user which is pretty horrible as variables will be available in the UI in 2.1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should &lt;U&gt;never&lt;/U&gt; use GenericBookmark for anything besides bookmarks and snapshots as it would blow up your app down the line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead add a normal GenericObject with your own custom type and manage settings in there. Preferably 1 per user to avoid conflicts during app sync between nodes. Adding properties as children or on the object itself creates an area for conflicts if two users are editing during the same saveappobjects cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now all of this is very overkill just to manage user preferences, I would probably just opt for the browsers local storage if you don't need it to persist between devices.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my Windows Phone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 08:57:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998768#M3880</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-08-28T08:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Saving User preference</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998769#M3881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was trying to store the preference outside qlik. But if I create an extension how can I get external storage access while painting the extension. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 10:26:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998769#M3881</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-28T10:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Saving User preference</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998770#M3882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your storage has a web accessible endpoint you would just do a XHR request to it, you could use jQuery to simplify things a little bit &lt;A href="https://api.jquery.com/jquery.get/" title="https://api.jquery.com/jquery.get/"&gt;https://api.jquery.com/jquery.get/&lt;/A&gt;&lt;A href="https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage" title="https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage"&gt;https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way could be to use local storage, it will then be saved to the user's browser but that might be good enough &lt;A href="https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage" title="https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage"&gt;Window.localStorage - Web API Interfaces | MDN&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 12:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998770#M3882</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-08-28T12:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Saving User preference</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998771#M3883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I understand that the bookmark is not the best aproach. But was is the real problem behind, if a users saves the own properties there. Yes for each save the bookmark is updated and the current selections are saved, but this is just overwriten. And for each user there is only 1 bookmark.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 13:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998771#M3883</guid>
      <dc:creator>konrad_mattheis</dc:creator>
      <dc:date>2015-08-28T13:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Saving User preference</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998772#M3884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well you are free to whatever you want to do I'm just very very strongly discouraging anyone thinking about doing something like that as it can have severe performance implications on your app and on your system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A bookmark will save every distinct field value and it's selections, so if you have a few selections in a few different fields then add 500 users to that and you quite possibly just grew your application size by 500mb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As opposed to just using normal GenericObjects which would clock in somewhere around 500kb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just because you can does not mean you should.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 13:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998772#M3884</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-08-28T13:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Saving User preference</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998773#M3885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are ways of saving data, it's called GenericObjects. You are free to create your own if you wish.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;We are actively trying to avoid hitting the QRS which for a single screen/entity system like Navision or R3 make sense. But for a high performance and click intensive system like Qlik you do not want to query disk/perform IO if you can avoid it. You have a in-memory storage option available, why not use it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 13:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998773#M3885</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-08-28T13:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Saving User preference</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998774#M3886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Having some kind of a data-storage for extensions/mashups, etc.: ... that's definitely something we are looking into ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the meantime I highly recommend to think of one of the following options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- For local storage: use the local storage (as &lt;A href="https://community.qlik.com/qlik-users/55130"&gt;akl&lt;/A&gt;‌ recommends below)&lt;BR /&gt;- If you need a data-storage across all users, create your own or just just something like Firebase which is easy to set up, also for other people using your extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 09:59:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Saving-User-preference/m-p/998774#M3886</guid>
      <dc:creator>Stefan_Walther</dc:creator>
      <dc:date>2015-08-31T09:59:26Z</dc:date>
    </item>
  </channel>
</rss>

