<?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: ODAG - Filter by user in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/ODAG-Filter-by-user/m-p/1676580#M51425</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what value do you get in detail app for username variable?&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;</description>
    <pubDate>Tue, 18 Feb 2020 10:53:02 GMT</pubDate>
    <dc:creator>amarti</dc:creator>
    <dc:date>2020-02-18T10:53:02Z</dc:date>
    <item>
      <title>ODAG - Filter by user</title>
      <link>https://community.qlik.com/t5/App-Development/ODAG-Filter-by-user/m-p/57475#M3841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a master app secured using section access. We are planning to use ODAG to generate apps to dig deeper in the data. To save on load time, would it be possible to know the authenticated user when loading the ODAG app so that we don't have to load all of the data and then filter out most of it with section access? If I was able to know who is connected, I would be able to load only the necessary data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 14:48:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ODAG-Filter-by-user/m-p/57475#M3841</guid>
      <dc:creator>maxim1500</dc:creator>
      <dc:date>2018-05-18T14:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: ODAG - Filter by user</title>
      <link>https://community.qlik.com/t5/App-Development/ODAG-Filter-by-user/m-p/57476#M3842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that I can get the active user by using SubField(OSUser(),'=',3);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I execute this in the ODAG app, the user is 'sa_api'. Can I pass the user somehow from the master app to the ODAG app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 May 2018 19:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ODAG-Filter-by-user/m-p/57476#M3842</guid>
      <dc:creator>maxim1500</dc:creator>
      <dc:date>2018-05-18T19:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: ODAG - Filter by user</title>
      <link>https://community.qlik.com/t5/App-Development/ODAG-Filter-by-user/m-p/1578629#M42190</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you have to create a table with users list (USERID, USERNAME fields) in aggregated app which will be automatically filtered by section access. Then in the detail app, create an odag variable like :&lt;/P&gt;&lt;P&gt;SET USERNAME = ;&lt;BR /&gt;SET USERNAME = $(odso_USERNAME);&lt;BR /&gt;SET USERNAME_COLNAME='USERNAME';&lt;/P&gt;&lt;P&gt;Let vUSERNAME = Replace($(USERNAME), 'CHR(39)', '');&lt;/P&gt;&lt;P&gt;This variable will contain your userID value (for example: john.doe) to use as a filter in where conditions or wherever you need it.&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 17:05:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ODAG-Filter-by-user/m-p/1578629#M42190</guid>
      <dc:creator>amarti</dc:creator>
      <dc:date>2019-05-09T17:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODAG - Filter by user</title>
      <link>https://community.qlik.com/t5/App-Development/ODAG-Filter-by-user/m-p/1670764#M50697</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Thanks for your reply!&lt;/P&gt;&lt;P&gt;But I can't tranlate User_id from aggregation app to detail app.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you explain in more detail?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 08:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ODAG-Filter-by-user/m-p/1670764#M50697</guid>
      <dc:creator>novikov_mdm</dc:creator>
      <dc:date>2020-01-30T08:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: ODAG - Filter by user</title>
      <link>https://community.qlik.com/t5/App-Development/ODAG-Filter-by-user/m-p/1676580#M51425</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what value do you get in detail app for username variable?&lt;/P&gt;&lt;P&gt;Alessandro&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2020 10:53:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ODAG-Filter-by-user/m-p/1676580#M51425</guid>
      <dc:creator>amarti</dc:creator>
      <dc:date>2020-02-18T10:53:02Z</dc:date>
    </item>
  </channel>
</rss>

