<?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: SECTION ACCESS et Reduction in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752056#M57915</link>
    <description>&lt;P&gt;Pour des tests ultérieurs&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2020 14:36:44 GMT</pubDate>
    <dc:creator>AlbanMONTBILLIARD</dc:creator>
    <dc:date>2020-10-13T14:36:44Z</dc:date>
    <item>
      <title>SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1751903#M57896</link>
      <description>&lt;P&gt;Bonjour,&lt;/P&gt;&lt;P&gt;je progresse dans ma création d'application mais là je me retrouve bloqué sur le fonctionnement des Reduction dans la Section Access.&amp;nbsp;&lt;/P&gt;&lt;P&gt;J'ai construit une micro application pour comprendre le fonctionnement. Cette application charge une table oracle de cette façon :&lt;/P&gt;&lt;P&gt;Set dataManagerTables = '','Z_QLIK_ABSENCE_AGENT';&lt;BR /&gt;//This block renames script tables from non generated section which conflict with the names of managed tables&lt;/P&gt;&lt;P&gt;For each name in $(dataManagerTables)&lt;BR /&gt;Let index = 0;&lt;BR /&gt;Let currentName = name;&lt;BR /&gt;Let tableNumber = TableNumber(name);&lt;BR /&gt;Let matches = 0;&lt;BR /&gt;Do while not IsNull(tableNumber) or (index &amp;gt; 0 and matches &amp;gt; 0)&lt;BR /&gt;index = index + 1;&lt;BR /&gt;currentName = name &amp;amp; '-' &amp;amp; index;&lt;BR /&gt;tableNumber = TableNumber(currentName)&lt;BR /&gt;matches = Match('$(currentName)', $(dataManagerTables));&lt;BR /&gt;Loop&lt;BR /&gt;If index &amp;gt; 0 then&lt;BR /&gt;Rename Table '$(name)' to '$(currentName)';&lt;BR /&gt;EndIf;&lt;BR /&gt;Next;&lt;BR /&gt;Set dataManagerTables = ;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Unqualify *;&lt;/P&gt;&lt;P&gt;LIB CONNECT TO [Oracle_srvciril (caluire_amd)];&lt;/P&gt;&lt;P&gt;[Z_QLIK_ABSENCE_AGENT]:&lt;BR /&gt;SELECT "CODE_ABSENCE",&lt;BR /&gt;"MATRICULE",&lt;BR /&gt;"MOIS_ABSENCE",&lt;BR /&gt;"NBR_JOU_ABS"&lt;BR /&gt;FROM "GRHPROD_DAA"."Z_QLIK_ABSENCE_AGENT";&lt;/P&gt;&lt;P&gt;J'ai ajouté une nouvelle section que j'ai appelé Accès aux feuilles. Dans celle-ci j'ai créé la section suivante :&amp;nbsp;&lt;/P&gt;&lt;P&gt;SECTION Access;&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;ACCESS, USERID, MATRICULE&lt;BR /&gt;USER, CALUIRE\amd, '00101594'&lt;BR /&gt;];&lt;BR /&gt;Section Application;&lt;/P&gt;&lt;P&gt;Cependant au moment du chargement des données j'obtiens un message d'erreur :&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;Connecté&lt;/DIV&gt;&lt;DIV class=""&gt;Z_QLIK_ABSENCE_AGENT &amp;lt;&amp;lt; QueryResult Lignes extraites : 4&amp;nbsp;263 INLFED &amp;lt;&amp;lt; 9bf41513-9669-4754-b3ca-522d7f7a118f Lignes extraites : 1 Accès refusé après le chargement. Assurez-vous que l'utilisateur qui charge le script figure bien dans l'accès de section du script.&lt;/DIV&gt;&lt;DIV class="empty undefined"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="headline undefined"&gt;Les données n'ont pas été chargées. Corrigez l'erreur, puis recommencez l'opération de chargement.&lt;/DIV&gt;&lt;DIV class="headline undefined"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="headline undefined"&gt;Merci de votre aide car j'ai bien compris que cela viens de la section access et surtout de la colonne MATRICULE mais je n'arrive pas à voir ce qui manque.&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Oct 2020 10:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1751903#M57896</guid>
      <dc:creator>AlbanMONTBILLIARD</dc:creator>
      <dc:date>2020-10-13T10:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1751977#M57902</link>
      <description>&lt;P&gt;Bonjour, personnellement j'essaierai déjà de mettre ton utilisateur en tant qu'admin plutôt que user, puis utiliser un autre utilisateur avec l'accès 'USER' et son matricule pour tester. Ensuite, si tu lances le rechargement depuis la QMC, il faut que tu rajoutes&amp;nbsp;INTERNAL\SA_SCHEDULER en tant qu'admin. Le Help de Qlik au sujet de la section access est bien fait :&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/fr-FR/sense/September2020/Subsystems/Hub/Content/Sense_Hub/Scripting/Security/manage-security-with-section-access.htm&amp;nbsp;" target="_blank" rel="noopener"&gt;https://help.qlik.com/fr-FR/sense/September2020/Subsystems/Hub/Content/Sense_Hub/Scripting/Security/manage-security-with-section-access.htm&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aussi, ta section Access doit se placer avant la création de ta table&amp;nbsp;&lt;SPAN&gt;[Z_QLIK_ABSENCE_AGENT] il me semble&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 12:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1751977#M57902</guid>
      <dc:creator>marinadorcassio1</dc:creator>
      <dc:date>2020-10-13T12:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1751983#M57904</link>
      <description>&lt;P&gt;&lt;FONT&gt;Le souci en mon utilisateur en ADMIN c'est que pour le coup il a accès à tout ce qui n'est pas mon souhait.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;J'ai modifié la section Access comme suit:&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;SECTION Access;&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;ACCESS, USERID, GROUP, MATRICULE&lt;BR /&gt;USER, CALUIRE\amd, *, 00101594&lt;BR /&gt;ADMIN, INTERNAL\SA_SCHEDULER, *, *&lt;BR /&gt;];&lt;BR /&gt;Section Application;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Cependant cela ne change pas le message d'erreur.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 12:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1751983#M57904</guid>
      <dc:creator>AlbanMONTBILLIARD</dc:creator>
      <dc:date>2020-10-13T12:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1751990#M57905</link>
      <description>&lt;P&gt;Oui je comprends mais ça aurait été pour commencer, possible d'essayer ? Tu testes sur un serveur ou sur un Desktop ? Tu as un autre utilisateur sous la main pour tester, autre que le tien, à qui on pourrait mettre l'accès 'USER' ?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 12:55:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1751990#M57905</guid>
      <dc:creator>marinadorcassio1</dc:creator>
      <dc:date>2020-10-13T12:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1751992#M57906</link>
      <description>&lt;P&gt;Le problème est que je suis en SSO donc authentification automatique. Donc à moins de me mettre sur une autre session et de la paramétrer dans les groupes AD c'est pas pratique.&lt;/P&gt;&lt;P&gt;J'ai testé en me mettant en admin mais le problème c'est que cela ne restreint pas mes droits, j'ai accès à tout donc je ne peux rien tester.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sinon pour ce qui est de la version, je suis en qlik sense entreprise (web)&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 13:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1751992#M57906</guid>
      <dc:creator>AlbanMONTBILLIARD</dc:creator>
      <dc:date>2020-10-13T13:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1751995#M57907</link>
      <description>&lt;P&gt;D'accord, donc pour moi le template est bon, en fait je pense juste (je ne suis pas experte des sections access...) que comme tu es le propriétaire de l'application, QlikSense ne te laisse pas t'attribuer un acces USER pour la section access. Je pense que si tu utilises l'acces USER et restreints les données d'autres utilisateurs cela va fonctionner, mais ton utilisateur doit rester admin.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 13:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1751995#M57907</guid>
      <dc:creator>marinadorcassio1</dc:creator>
      <dc:date>2020-10-13T13:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752008#M57908</link>
      <description>&lt;P&gt;Je viens de tester en ajoutant un nouvel utilisateur, cela modifie le script comme suit :&lt;/P&gt;&lt;P&gt;SECTION Access;&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;ACCESS, USERID, GROUP, MATRICULE&lt;BR /&gt;ADMIN, CALUIRE\amd, *, *&lt;BR /&gt;USER, CALUIRE\PRET, *, 00101594&lt;BR /&gt;ADMIN, INTERNAL\SA_SCHEDULER, *, *&lt;BR /&gt;];&lt;BR /&gt;Section Application;&lt;/P&gt;&lt;P&gt;Le chargement ce fait correctement mais lorsque j'essai d'ouvrir l'application avec l'utilisateur pret, j'obtiens accès refusé.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 13:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752008#M57908</guid>
      <dc:creator>AlbanMONTBILLIARD</dc:creator>
      <dc:date>2020-10-13T13:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752021#M57909</link>
      <description>&lt;P&gt;Je pense que le fait que le Matricule commence par "00", en format numérique ça doit poser problème (il doit les enlever). Essaie de mettre entre quote dans la section access, et forcer le champs en string dans la création de ta table&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 13:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752021#M57909</guid>
      <dc:creator>marinadorcassio1</dc:creator>
      <dc:date>2020-10-13T13:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752028#M57910</link>
      <description>&lt;P&gt;Je viens de tester en mettant en enlevant les 2 zéro, en mettant entre ' ou entre " mais toujours le même résultat.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Par contre je ne sais pas forcer le type de la donnée.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 13:49:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752028#M57910</guid>
      <dc:creator>AlbanMONTBILLIARD</dc:creator>
      <dc:date>2020-10-13T13:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752032#M57911</link>
      <description>&lt;P&gt;&lt;SPAN&gt;[Z_QLIK_ABSENCE_AGENT]:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SELECT "CODE_ABSENCE",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;TO_CHAR(MATRICULE)&amp;nbsp;&lt;/STRONG&gt; MATRICULE,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"MOIS_ABSENCE",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"NBR_JOU_ABS"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FROM "GRHPROD_DAA"."Z_QLIK_ABSENCE_AGENT";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Et&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SECTION Access;&lt;BR /&gt;LOAD * Inline [&lt;BR /&gt;ACCESS, USERID, GROUP, MATRICULE&lt;BR /&gt;ADMIN, CALUIRE\amd, *, *&lt;BR /&gt;USER, CALUIRE\PRET, *, &lt;STRONG&gt;'00101594'&lt;/STRONG&gt;&lt;BR /&gt;ADMIN, INTERNAL\SA_SCHEDULER, *, *&lt;BR /&gt;];&lt;BR /&gt;Section Application;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;En espérant que ce soit ça le problème&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 13:56:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752032#M57911</guid>
      <dc:creator>marinadorcassio1</dc:creator>
      <dc:date>2020-10-13T13:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752037#M57912</link>
      <description>&lt;P&gt;Merci pour ta patience mais hélas ça ne marche pas&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 14:01:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752037#M57912</guid>
      <dc:creator>AlbanMONTBILLIARD</dc:creator>
      <dc:date>2020-10-13T14:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752054#M57914</link>
      <description>&lt;P&gt;Pourquoi as-tu rajouté le GROUP dans ta section access au fait ?&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 14:31:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752054#M57914</guid>
      <dc:creator>marinadorcassio1</dc:creator>
      <dc:date>2020-10-13T14:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: SECTION ACCESS et Reduction</title>
      <link>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752056#M57915</link>
      <description>&lt;P&gt;Pour des tests ultérieurs&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 14:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/SECTION-ACCESS-et-Reduction/m-p/1752056#M57915</guid>
      <dc:creator>AlbanMONTBILLIARD</dc:creator>
      <dc:date>2020-10-13T14:36:44Z</dc:date>
    </item>
  </channel>
</rss>

