<?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: Create Stream API - Qlik Sense in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827425#M2766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmm that's not how access control is done in QS.&lt;BR /&gt;You can check this entry out in the Help around designing access control, &lt;A href="https://help.qlik.com/sense/2.0/en-US/online/Subsystems/ManagementConsole/Content/design-access-control.htm" title="https://help.qlik.com/sense/2.0/en-US/online/Subsystems/ManagementConsole/Content/design-access-control.htm"&gt;https://help.qlik.com/sense/2.0/en-US/online/Subsystems/ManagementConsole/Content/design-access-control.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, in theory you could create one rule per user and per stream but that is highly discouraged as you quickly run into an enormous mess of rules to manage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example request to create a new rule that apply to a specific stream, this is also a good method to see what gets sent to the QRS API. Just emulate the same action in QMC since it uses the same API&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="streampost.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93476_streampost.PNG" style="height: 543px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2015 10:23:58 GMT</pubDate>
    <dc:creator>Alexander_Thor</dc:creator>
    <dc:date>2015-07-21T10:23:58Z</dc:date>
    <item>
      <title>Create Stream API - Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827420#M2761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Does anyone know if their is an API in Qlik Sense for creating Streams? I see that I can create an app and publish it to an existing stream but their does not seam to be a CreateStream/MakeStream API call.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been using &lt;A href="https://help.qlik.com/sense/en-us/developer/#../Subsystems/EngineAPI/Content/WorkingWithAppsAndVisualizations/PublishAppVisualizations/overview-publish-apps-visualizations.htm%3FTocPath%3DQlik%2520Engine%2520API%7CExamples%2520of%2520use%7CWorking%2520with%2520apps%2520and%2520visualizations%7CPublish%2520apps%2520and%2520visualizations%7C_____0" title="https://help.qlik.com/sense/en-us/developer/#../Subsystems/EngineAPI/Content/WorkingWithAppsAndVisualizations/PublishAppVisualizations/overview-publish-apps-visualizations.htm%3FTocPath%3DQlik%2520Engine%2520API%7CExamples%2520of%2520use%7CWorking%2520with%2520apps%2520and%2520visualizations%7CPublish%2520apps%2520and%2520visualizations%7C_____0"&gt;https://help.qlik.com/sense/en-us/developer/#../Subsystems/EngineAPI/Content/WorkingWithAppsAndVisualizations/PublishApp…&lt;/A&gt; for a reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lucas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 13:22:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827420#M2761</guid>
      <dc:creator>lblancher</dc:creator>
      <dc:date>2015-05-09T13:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Create Stream API - Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827421#M2762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lucas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the QRS API to create a stream.&amp;nbsp; Here is a link to a windows app that contains samples for working with QRS API: &lt;A href="http://branch.qlik.com/projects/showthread.php?335-Qlik-Sense-Repository-API-Windows-App" title="http://branch.qlik.com/projects/showthread.php?335-Qlik-Sense-Repository-API-Windows-App"&gt;Qlik Sense Repository API Windows App&lt;/A&gt;.&amp;nbsp; Below is an example using Postman to demonstrate the minimal set of properties in the json object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remember the call to QRS API to create a stream is a POST&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screenshot:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QSPT.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/86787_QSPT.png" style="height: 600px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 02:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827421#M2762</guid>
      <dc:creator />
      <dc:date>2015-05-18T02:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Create Stream API - Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827422#M2763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Jeffery!&amp;nbsp; This worked.&amp;nbsp; One more question, do you know where i can find out more about the Stream API?&amp;nbsp; I would also like to be able to add/modify the security of the stream if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Lucas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 15:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827422#M2763</guid>
      <dc:creator>lblancher</dc:creator>
      <dc:date>2015-06-01T15:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create Stream API - Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827423#M2764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lucas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to review the Qlik Repository API.&amp;nbsp; The QRS API allows you to set up streams and define the security rules for the streams as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the link to the reference documentation: &lt;A href="http://help.qlik.com/sense/en-us/developer/#../Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-Introduction.htm%3FTocPath%3DQlik%2520Sense%2520Repository%2520Service%2520API%7C_____0" title="http://help.qlik.com/sense/en-us/developer/#../Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositoryServiceAPI-Introduction.htm%3FTocPath%3DQlik%2520Sense%2520Repository%2520Service%2520API%7C_____0"&gt;http://help.qlik.com/sense/en-us/developer/#../Subsystems/RepositoryServiceAPI/Content/RepositoryServiceAPI/RepositorySe…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jun 2015 20:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827423#M2764</guid>
      <dc:creator />
      <dc:date>2015-06-01T20:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create Stream API - Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827424#M2765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lucas, I've been trying to do something similar to you, create apps, streams and publish apps all via QRS. I've been able to accomplish eveything except assigning a user to a stream through QRS - did you ever manage to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be willing to share your insights? Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 10:11:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827424#M2765</guid>
      <dc:creator />
      <dc:date>2015-07-21T10:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Create Stream API - Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827425#M2766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Ian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hmm that's not how access control is done in QS.&lt;BR /&gt;You can check this entry out in the Help around designing access control, &lt;A href="https://help.qlik.com/sense/2.0/en-US/online/Subsystems/ManagementConsole/Content/design-access-control.htm" title="https://help.qlik.com/sense/2.0/en-US/online/Subsystems/ManagementConsole/Content/design-access-control.htm"&gt;https://help.qlik.com/sense/2.0/en-US/online/Subsystems/ManagementConsole/Content/design-access-control.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, in theory you could create one rule per user and per stream but that is highly discouraged as you quickly run into an enormous mess of rules to manage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example request to create a new rule that apply to a specific stream, this is also a good method to see what gets sent to the QRS API. Just emulate the same action in QMC since it uses the same API&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="streampost.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93476_streampost.PNG" style="height: 543px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 10:23:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827425#M2766</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-07-21T10:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create Stream API - Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827426#M2767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Hi Alexander,&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;thanks for the reply and for your advice, it's very much appreciated.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;As you mention linking single users to single streams isn't generally advisable, but in our particular implementation we are having multiple customers accessing one or two apps, we are having individual customers accessing individual apps.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;So the design of the solution is driven by need, and your help was great to identify what we were missing (the user to stream mapping)&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;What was really important and helpful was the tip to use the browser to see what's being posted by QMC and then replicate through QRS. In this case we had the struture correct, but there was a slight syntax error.&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;What we passed through&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{"name":"Security rule for access to &lt;SPAN style="font-size: 13.3333330154419px;"&gt;stream name&lt;/SPAN&gt;","category":"Security","rule":"((user.name="UserName"))","type":"Custom","privileges":["read"],"resourceFilter":"Stream_streamid","actions":2}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;What QMC was doing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{"name":"Security rule for access to &lt;SPAN style="font-size: 13.3333330154419px;"&gt;stream name&lt;/SPAN&gt;","category":"Security","rule":"((user.name=\"UserName\"))","type":"Custom","privileges":["create","read","update"],"resourceFilter":"Stream_&lt;SPAN style="font-size: 13.3333330154419px;"&gt;streamid&lt;/SPAN&gt;","actions":2,}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So two things were different here.&lt;/P&gt;&lt;P&gt;We only wanted users to have READ permissions, but even when you set this in QMC, it still sets &lt;SPAN style="font-size: 13.3333330154419px;"&gt;["create","read","update"], but it does set the actions value to 2, which appears to be different depending on the permissions you set.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, we managed to get where we wanted to and your help was a contributing factor, so thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpful?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2015 16:23:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827426#M2767</guid>
      <dc:creator />
      <dc:date>2015-07-21T16:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create Stream API - Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827427#M2768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm, and you have nothing that distinguishes the different customers from each other?&lt;BR /&gt;We have done similar setups before but then we either sent in user properties or customer specific user directories to assign app priviliges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, Stream A is accessible for User Directory A. Within stream A users with properties superuser can access app B, everyone can access app C etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do ticketing it's fairly easy to assign more specific properties to the users as they access the system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 08:12:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827427#M2768</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-07-22T08:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create Stream API - Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827428#M2769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All of our customers have different ID's, and each has 3 apps that are created just for them (all duplicates from a template).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now, we've set up streams for each of them to enable the apps to be grouped together, and then used the user to stream association for ease. In the future, we're going to have users that will have access to multiple streams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All users come from the same directory, so I can't segregate based on directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of the app/stream/user management is triggered by a user sign-up process, where users will use our service for anything from a month to a rolling subscription.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The multi stream to user relationship is likely to be managed more manually as this will be less frequent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the end of the subscription, we will have code that automatically un-publishes the apps, deletes the streams etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sure as we really learn to use Qlik, we'll find better, more efficient ways to do things. We've only been using it for 3 weeks, and we're still learning, but learning quickly &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your input though, it's good to stop and think about the approach.&lt;/P&gt;&lt;P&gt;Ian.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 08:43:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827428#M2769</guid>
      <dc:creator />
      <dc:date>2015-07-22T08:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create Stream API - Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827429#M2770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds good, just drop us a note and we are happy to share some ideas in the future!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jul 2015 08:47:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827429#M2770</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-07-22T08:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create Stream API - Qlik Sense</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827430#M2771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is the certificate specified for Postman?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For creating a new stream this is the only JSON i am passing i.e. {"name","foo"}&lt;/P&gt;&lt;P&gt;Would this be sufficient for the QRS API or we will need to pass more parameters. Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;Rajesh Vaswani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jan 2017 14:42:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Create-Stream-API-Qlik-Sense/m-p/827430#M2771</guid>
      <dc:creator>rajeshvaswani77</dc:creator>
      <dc:date>2017-01-25T14:42:30Z</dc:date>
    </item>
  </channel>
</rss>

