{"id":743,"date":"2023-12-26T00:22:11","date_gmt":"2023-12-26T00:22:11","guid":{"rendered":"https:\/\/cluelabs.com\/blog\/autenticando-um-usuario-no-articulate-storyline-com-a-ajuda-do-widget-do-google-sheets\/"},"modified":"2023-12-26T04:51:08","modified_gmt":"2023-12-26T04:51:08","slug":"autenticando-um-usuario-no-articulate-storyline-com-a-ajuda-do-widget-do-google-sheets","status":"publish","type":"post","link":"https:\/\/cluelabs.com\/blog\/autenticando-um-usuario-no-articulate-storyline-com-a-ajuda-do-widget-do-google-sheets\/","title":{"rendered":"Autenticando um Usu\u00e1rio no Articulate Storyline com a Ajuda do Widget do Google Sheets"},"content":{"rendered":"<p>Esta \u00e9 uma tradu\u00e7\u00e3o do artigo original escrito em ingl\u00eas: <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>O problema: <\/strong> Temos uma lista de emails de usu\u00e1rios no Google Sheets. Quando um usu\u00e1rio come\u00e7a um curso, queremos ser capazes de autentic\u00e1-lo usando seu endere\u00e7o de e-mail. Uma vez autenticado, o curso deve coletar outras informa\u00e7\u00f5es sobre este usu\u00e1rio do Google Sheets. Isso \u00e9 poss\u00edvel?<\/p>\n<p><strong>A resposta:<\/strong> Se voc\u00ea estiver confort\u00e1vel com f\u00f3rmulas, n\u00e3o dever\u00e1 ter problemas para alcan\u00e7ar isso com o <a href=\"https:\/\/cluelabs.com\/google-sheets-elearning-widget\" data-type=\"URL\" data-id=\"https:\/\/cluelabs.com\/google-sheets-elearning-widget\">widget do Google Sheets para Articulate Storyline<\/a>.<\/p>\n<p><strong>Resumindo:<\/strong> Quando nas instru\u00e7\u00f5es do widget diz para criar a vari\u00e1vel stencilsheetstoken &#8211; essa vari\u00e1vel armazena o n\u00famero da linha do usu\u00e1rio. Ent\u00e3o, se voc\u00ea puder usar uma f\u00f3rmula para encontrar o n\u00famero correto da linha por email e ent\u00e3o salvar esse n\u00famero no stencilsheetstoken, o usu\u00e1rio receber\u00e1 dados dessa linha.<\/p>\n<p><strong>O fluxo de trabalho:<\/strong><\/p>\n<p>1. Inicialize normalmente os widgets do Sheets.<\/p>\n<p>2. Use SheetsSet para escrever uma f\u00f3rmula para procurar o email.<\/p>\n<p>3. Use SheetsGet para ler o valor calculado da f\u00f3rmula com o resultado.<\/p>\n<p>4. Extraia o n\u00famero da linha do resultado e salve-o em stencilsheetstoken.<\/p>\n<p>5. Use SheetsGet para ler os dados do usu\u00e1rio na planilha conforme necess\u00e1rio.<\/p>\n<\/p>\n<p><strong>Instru\u00e7\u00f5es detalhadas para ler os dados do usu\u00e1rio do Google Sheets ap\u00f3s corresponder o usu\u00e1rio por e-mail:<\/strong><\/p>\n<p>1. Localize o documento do Google Sheets com o qual estar\u00e1 trabalhando e conecte-o ao 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. Baixe o arquivo inicial do Widget Sheets para Articulate Storyline e configure a vari\u00e1vel de ID do widget conforme instru\u00eddo.<\/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. Crie um slide com uma caixa de entrada de texto; crie vari\u00e1veis conforme necess\u00e1rio.<\/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. Adicione um gatilho para escrever uma f\u00f3rmula de pesquisa na planilha ap\u00f3s o usu\u00e1rio inserir o endere\u00e7o de email e, em seguida, salve imediatamente o valor calculado da f\u00f3rmula na vari\u00e1vel &#8216;stencilsheetstoken&#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. Adicione um gatilho para ler o nome e o sobrenome do usu\u00e1rio e a pontua\u00e7\u00e3o do documento quando a vari\u00e1vel stencilsheetstoken muda:<\/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. Publique e teste seu projeto. Note que a API fornecida pelo Google \u00e9 bastante lenta e pode levar alguns segundos para que v\u00e1rias chamadas sejam executadas.<\/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\">Baixe este arquivo .story<\/a>.<\/p>\n<p><strong>Este artigo est\u00e1 dispon\u00edvel em v\u00e1rios idiomas:<\/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>O problema: Temos uma lista de emails de usu\u00e1rios no Google Sheets. Quando um usu\u00e1rio inicia um curso, queremos ser capazes de autentic\u00e1-los usando seu endere\u00e7o de email. Uma vez autenticado, o curso deve puxar outras informa\u00e7\u00f5es sobre esse usu\u00e1rio do Google Sheets. Isso \u00e9 poss\u00edvel? A resposta: Se voc\u00ea se sente confort\u00e1vel com f\u00f3rmulas, voc\u00ea [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[29],"_links":{"self":[{"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/posts\/743"}],"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=743"}],"version-history":[{"count":0,"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/posts\/743\/revisions"}],"wp:attachment":[{"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/media?parent=743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/categories?post=743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cluelabs.com\/blog\/wp-json\/wp\/v2\/tags?post=743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}