{"id":740,"date":"2023-12-25T22:52:03","date_gmt":"2023-12-25T22:52:03","guid":{"rendered":"https:\/\/cluelabs.com\/blog\/authentification-dun-utilisateur-dans-articulate-storyline-a-laide-du-widget-google-sheets\/"},"modified":"2023-12-26T04:51:06","modified_gmt":"2023-12-26T04:51:06","slug":"authentification-dun-utilisateur-dans-articulate-storyline-a-laide-du-widget-google-sheets","status":"publish","type":"post","link":"https:\/\/cluelabs.com\/blog\/authentification-dun-utilisateur-dans-articulate-storyline-a-laide-du-widget-google-sheets\/","title":{"rendered":"Authentification d&#8217;un Utilisateur dans Articulate Storyline \u00e0 l&#8217;aide du Widget Google Sheets"},"content":{"rendered":"<p>Ceci est une traduction de l&#8217;article original \u00e9crit en anglais: <a href=\"https:\/\/cluelabs.com\/blog\/authenticating-a-user-in-articulate-storyline-with-the-help-of-the-google-sheets-widget\/\">Authenticating a User in Articulate Storyline with the Help of the Google Sheets Widget<\/a> <\/p>\n<p><strong>Le probl\u00e8me : <\/strong>Nous avons une liste d&#8217;emails d&#8217;utilisateurs dans Google Sheets. Lorsqu&#8217;un utilisateur commence un cours, nous voulons pouvoir l&#8217;authentifier \u00e0 l&#8217;aide de son adresse email. Une fois authentifi\u00e9, le cours devrait r\u00e9cup\u00e9rer d&#8217;autres informations sur cet utilisateur \u00e0 partir de Google Sheets. Est-ce possible ?<\/p>\n<p><strong>La r\u00e9ponse :<\/strong> Si vous \u00eates \u00e0 l&#8217;aise avec les formules, vous ne devriez avoir aucun probl\u00e8me \u00e0 r\u00e9aliser cela avec le <a href=\"https:\/\/cluelabs.com\/google-sheets-elearning-widget\" data-type=\"URL\" data-id=\"https:\/\/cluelabs.com\/google-sheets-elearning-widget\">widget Google Sheets pour Articulate Storyline<\/a>.<\/p>\n<p><strong>TL;DR :<\/strong> Quand il est \u00e9crit dans les instructions du widget de cr\u00e9er la variable stencilsheetstoken &#8211; cette variable stocke le num\u00e9ro de la ligne de l&#8217;utilisateur. Donc, si vous pouvez utiliser une formule pour trouver le bon num\u00e9ro de ligne par email et ensuite sauvegarder ce num\u00e9ro dans stencilsheetstoken, l&#8217;utilisateur obtiendra des donn\u00e9es de cette ligne.<\/p>\n<p><strong>Le flux de travail :<\/strong><\/p>\n<p>1. Initialisez les widgets Sheets normalement.<\/p>\n<p>2. Utilisez SheetsSet pour \u00e9crire une formule qui recherche l&#8217;email.<\/p>\n<p>3. Utilisez SheetsGet pour lire la valeur calcul\u00e9e de la formule avec le r\u00e9sultat.<\/p>\n<p>4. Extrayez le num\u00e9ro de ligne du r\u00e9sultat et enregistrez-le dans stencilsheetstoken.<\/p>\n<p>5. Utilisez SheetsGet pour lire les donn\u00e9es de l&#8217;utilisateur \u00e0 partir du tableau, au besoin.<\/p>\n<\/p>\n<p><strong>Instructions d\u00e9taill\u00e9es pour lire les donn\u00e9es de l&#8217;utilisateur \u00e0 partir de Google Sheets apr\u00e8s avoir trouv\u00e9 l&#8217;utilisateur par email :<\/strong><\/p>\n<p>1. Localisez le document Google Sheets avec lequel vous allez travailler et connectez-le au widget.<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storage.googleapis.com\/us-east1-clabs-blog-images\/0other\/sheets-authentication-by-email\/01.png\" alt=\"\"\/><\/figure>\n<\/p>\n<p>2. T\u00e9l\u00e9chargez le fichier de d\u00e9part du widget Sheets pour Articulate Storyline et d\u00e9finissez la variable ID du widget comme indiqu\u00e9.<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storage.googleapis.com\/us-east1-clabs-blog-images\/0other\/sheets-authentication-by-email\/02.png\" alt=\"\"\/><\/figure>\n<\/p>\n<p>3. Cr\u00e9ez une diapositive avec une bo\u00eete de saisie de texte ; cr\u00e9ez des variables au besoin.<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storage.googleapis.com\/us-east1-clabs-blog-images\/0other\/sheets-authentication-by-email\/03.png\" alt=\"\"\/><\/figure>\n<\/p>\n<p>4. Ajoutez un d\u00e9clencheur pour \u00e9crire une formule de recherche dans la feuille apr\u00e8s que l&#8217;utilisateur ait entr\u00e9 l&#8217;adresse e-mail, puis enregistrez imm\u00e9diatement la valeur calcul\u00e9e de la formule dans la variable &#8216;stencilsheetstoken&#038;#8217 ;:<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storage.googleapis.com\/us-east1-clabs-blog-images\/0other\/sheets-authentication-by-email\/04.png\" alt=\"\"\/><\/figure>\n<\/p>\n<p>5. Ajoutez un d\u00e9clencheur pour lire les pr\u00e9noms, les noms de famille et le score de l&#8217;utilisateur dans le document lorsque la variable stencilsheetstoken change:<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storage.googleapis.com\/us-east1-clabs-blog-images\/0other\/sheets-authentication-by-email\/05.png\" alt=\"\"\/><\/figure>\n<\/p>\n<p>6. Publiez et testez votre projet. Notez que l&#8217;API fournie par Google est assez lente et il peut falloir quelques secondes pour ex\u00e9cuter plusieurs appels.<\/p>\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/storage.googleapis.com\/us-east1-clabs-blog-images\/0other\/sheets-authentication-by-email\/06.png\" alt=\"\"\/><\/figure>\n<\/p>\n<p><a href=\"https:\/\/storage.googleapis.com\/us-east1-clabs-blog-images\/0other\/sheets-authentication-by-email\/sheets_widget_v2_1.story\" data-type=\"URL\" data-id=\"https:\/\/storage.googleapis.com\/us-east1-clabs-blog-images\/0other\/sheets-authentication-by-email\/sheets_widget_v2_1.story\">T\u00e9l\u00e9chargez ce fichier .story<\/a>.<\/p>\n<p><strong>Cet article est disponible en plusieurs langues:<\/strong><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/authenticating-a-user-in-articulate-storyline-with-the-help-of-the-google-sheets-widget\/\">Authenticating a User in Articulate Storyline with the Help of the Google Sheets Widget<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/authentifizierung-eines-benutzers-in-articulate-storyline-mit-hilfe-des-google-sheets-widgets\/\">Authentifizierung Eines Benutzers in Articulate Storyline mit Hilfe des Google Sheets Widgets<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/authentification-dun-utilisateur-dans-articulate-storyline-a-laide-du-widget-google-sheets\/\">Authentification d&#8217;un Utilisateur dans Articulate Storyline \u00e0 l&#8217;aide du Widget Google Sheets<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/autenticando-a-un-usuario-en-articulate-storyline-con-la-ayuda-del-widget-de-google-sheets\/\">Autenticando a un Usuario en Articulate Storyline con la Ayuda del Widget de Google Sheets<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/autenticazione-di-un-utente-in-articulate-storyline-con-laiuto-del-widget-di-google-sheets\/\">Autenticazione di un Utente in Articulate Storyline con l&#8217;Aiuto del Widget di Google Sheets<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/autenticando-um-usuario-no-articulate-storyline-com-a-ajuda-do-widget-do-google-sheets\/\">Autenticando um Usu\u00e1rio no Articulate Storyline com a Ajuda do Widget do Google Sheets<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/een-gebruiker-authenticeren-in-articulate-storyline-met-de-hulp-van-de-google-sheets-widget\/\">Een Gebruiker Authenticeren in Articulate Storyline met de Hulp van de Google Sheets Widget<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/%d0%b0%d1%83%d1%82%d0%b5%d0%bd%d1%82%d0%b8%d1%84%d1%96%d0%ba%d0%b0%d1%86%d1%96%d1%8f-%d0%ba%d0%be%d1%80%d0%b8%d1%81%d1%82%d1%83%d0%b2%d0%b0%d1%87%d0%b0-%d0%b2-articulate-storyline-%d0%b7%d0%b0-%d0%b4\/\">\u0410\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0446\u0456\u044f \u041a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0432 Articulate Storyline \u0437\u0430 \u0414\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0412\u0456\u0434\u0436\u0435\u0442\u0430 Google Sheets<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/uwierzytelnianie-uzytkownika-w-articulate-storyline-za-pomoca-widzetu-google-sheets\/\">Uwierzytelnianie U\u017cytkownika w Articulate Storyline za Pomoc\u0105 Wid\u017cetu Google Sheets<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/autentisering-av-en-anvandare-i-articulate-storyline-med-hjalp-av-google-sheets-widgeten\/\">Autentisering av en Anv\u00e4ndare i Articulate Storyline med Hj\u00e4lp av Google Sheets Widgeten<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/autentisering-av-en-bruker-i-articulate-storyline-med-hjelp-av-google-sheets-widgeten\/\">Autentisering av en Bruker i Articulate Storyline med Hjelp av Google Sheets-Widgeten<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/autentificering-af-en-bruger-i-articulate-storyline-med-hjaelp-fra-google-sheets-widgeten\/\">Autentificering af en Bruger i Articulate Storyline med Hj\u00e6lp fra Google Sheets Widgeten<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/%d0%b0%d1%83%d1%82%d0%b5%d0%bd%d1%82%d0%b8%d1%84%d0%b8%d0%ba%d0%b0%d1%86%d0%b8%d1%8f-%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d1%82%d0%b5%d0%bb%d1%8f-%d0%b2-articulate-storyline-%d1%81-%d0%bf\/\">\u0410\u0443\u0442\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0432 Articulate Storyline \u0441 \u041f\u043e\u043c\u043e\u0449\u044c\u044e \u0412\u0438\u0434\u0436\u0435\u0442\u0430 Google Sheets<\/a><\/p>\n<p><a href=\"https:\/\/cluelabs.com\/blog\/google-sheets-widget-yardimiyla-articulate-storylineda-bir-kullanicinin-kimligini-dogrulama\/\">Google Sheets Widget Yard\u0131m\u0131yla Articulate Storyline&#8217;da Bir Kullan\u0131c\u0131n\u0131n Kimli\u011fini Do\u011frulama<\/a><\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Le probl\u00e8me : Nous avons une liste d&#8217;emails d&#8217;utilisateurs dans Google Sheets. Lorsqu&#8217;un utilisateur commence un cours, nous voulons pouvoir l&#8217;authentifier en utilisant son adresse email. Une fois authentifi\u00e9, le cours devrait extraire d&#8217;autres informations sur cet utilisateur \u00e0 partir de Google Sheets. Est-ce possible? La r\u00e9ponse : Si vous \u00eates \u00e0 l&#8217;aise avec les formules, alors vous [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[26],"_links":{"self":[{"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/posts\/740"}],"collection":[{"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/comments?post=740"}],"version-history":[{"count":0,"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/posts\/740\/revisions"}],"wp:attachment":[{"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/media?parent=740"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/categories?post=740"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/tags?post=740"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}