How could spoken entries through an assistant be captured in a spreadsheet? - google-docs

I've been searching [actions on google data logging, spreadsheet, recording data, etc] and haven't found how to connect the assistant to Google Docs. Is this just not possible yet? The goal is to replace patient care sheets with spoken updates that are date and time stamped as they get added to the spreadsheet. On the back end spreadsheet tools will be used to search and report on the data.

There is no direct way to "connect" the Assistant to a Google Sheet. This isn't a feature that is built-in to the Assistant, just like there is no way to automatically log things from your desktop or a website to a Google Sheet.
Fortunately, Google provides a developer environment for the Assistant known as Actions on Google and various APIs for Google Sheets. You can use these tools to make an Action that records things to a sheet the way you'd like.
There is at least one action that already does so - Vodo Drive.

Related

Access worksheet names from Excel file with Google Apps Script (without Drive.Files.insert)

In a Google App Script attached to a Google Sheet, I have the file ID of an excel file. I want to read the worksheet names of that excel file. The tutorials I've seen on conversion load the excel file as a blob then write it to Drive as a Google Sheet, then read it.
Is there a way to do this that does not to create artifacts that I then need to delete? The reasoning is that I am concerned with the following: safety if there's a bug (the wrong thing gets deleted), additional processing time (I need to process a long list of excel files), and leftover artifacts if the script aborts unexpectedly between inserting and deleting.
Thank you!
Answering your questions, the reason the tutorials first convert the Excel file to a Google Sheet is to interact with it (in your case, to gather the worksheet names) it's because the Google APIs or Apps Script cannot interact with the Excel file as row data, and Google needs to convert the file to something readable using Google APIs.
A workaround for this will be to use Excel JavaScript API to read the information original Excel file, you can use externals API in Apps Script since it's based in JavaScript, so you will use Apps Script as an IDE.
However, you can do the same with any other IDE that works with JavaScript.
There are some examples on how to list the worksheets using the Excel JavaScript API in this blog.
If you will like to keep using Google APIs, and using the Google Apps Script built-in services. You will need to convert the file to Google Sheets.
Updating Answer:
You can review more about the Excel Services API services here.

Excel Mobile Data Entry Form

I am trying to create a data entry "app" to collect daily readings across our site. Here are the three biggest constraints:
Software - ideally, we would use some software within the Microsoft 365 Suite, mainly because those are the only approved apps on site. It may be possible to use open source software, but that might raise some flags in terms of security. So my thoughts are to use either Excel or Access.
Cost - ideally, we do not want purchase any additional software licenses. I would try and create something with Power Apps, but we do not have the licensing for an Azure or SQL server to store the data. I could be missing something here though.
Mobile-Friendly - finally, it needs to work on an Android tablet. Currently, we collect readings using pen and paper. The whole idea of this is to move towards using a tablet.
The easiest approach would be to create an Excel spreadsheet, save it on OneDrive, and edit the spreadsheet. I don't love this option because we are collecting 100's of data points each day. This would end up with a very wide spreadsheet that will be cumbersome to navigate.
The other option I looked into was creating an Access database and accompanying form and storing it on SharePoint. However, it seems Microsoft has stopped supporting Access databases on SharePoint.
I have created data entry forms using VBA, similar to this, but these do not work on mobile.
Is it possible to create a data entry form in Excel that also works on the Android version of Excel? Are there other alternatives I am not thinking of?
I am engaged in just this kind of project also. I have written an app in PowerApps, built an Excel spreadsheet and stored it in OneDrive, and am running it (the app) on an iPad. The design differs somewhat from your description of directly presenting a spreadsheet to the user (which I think PowerApps could do) because I don't want users having direct access to the data.
Edit: You do not need Azure or SQL, unless you are storing tons of data. Excel can be a satisfactory data storage location for modest uses.
I found the learning curve for PowerApps to be quite steep, as it's a different paradigm than line-by-line coding.
I think this is a more user friendly way to collect data than trying to run an Excel form, and once you get it made and polished, you'll look like a pro :)
I am by no means an expert but if you need some tips I'll do what I can to help. It sounds like we are at similar developmental stages.
Is it possible to create a data entry form in Excel that also works on the Android version of Excel? Are there other alternatives I am not thinking of?
Microsoft Forms does the job when created from OneDrive on mobile browser. Side note: the form I just created and the response I submitted have now disappeared from my OneDrive.
I also saw some people using Power Automate to save responses from a form into an Excel file (every reponse).

Adding a calendar to my website with multiple types of users

I'm making a website for handling office hour queues that has 3 different types of users: guest, student, and instructor.
the instructors will be able to log in and enter the timings for their office hours for a specific course. and i want these office hours to show up in a calendar such that all the instructors teaching the same course can see the office hours.
i also want the students to be able to see this calendar for a specific course, so that they know when the office hours are.
i want to basically have a calendar for each course...and i'm not sure if that is possible?
i'm using java, javascript, html, and css to develop this website. does anyone know how i can do this?
That is definitely possible using the Google Calendar API.
You can:
Use a service account for server-to-server communication towards Google Calendar API.
Insert calendars using Calendars: insert. Each of them would map to a different course.
Insert events using Events: insert.
Query the events using Events: list and Events: get.
Additionally, you will need somewhere to save which courses are the students enrolled to. You may use a database, or if you prefer using a Google solution, you may use a Google Sheets instance for that.

Running a PowerQuery on Google Sheet - keeps failing

I'm trying to run a PowerQuery on a work-related Google Sheet (that I can't share here) so that the data appears in Excel and refreshes when I need it to.
I have published the Google sheet to the web and gotten the link (in web format, not Excel, but this is failing no matter which file format I publish in).
I then go to Data->From Web in Excel and I paste the link to the Google Doc get this:
Query Preview
As you can see, the data isn't appearing. It should be a table with a bunch of data.
Can someone help me fix this?
When using Google's File / Publish to the web pop-up, change the 2nd setting from "Web page" to "Microsoft Excel (.xlsx)". It then builds a link that works without modification in Power Query.
FYI the best in-depth discussion on this topic is on this thread:
http://community.powerbi.com/t5/Integrations-with-Files-and/How-to-connect-google-sheet-to-Power-BI/m-p/205058#M11276
BTW if you have published your Google sheet to the web, then there shouldn't be any obstacle to sharing it here - it's already visible to anyone.

Google docs : does it exist some models in HTML or other webformat to publish a spreadsheet?

I've tested the API of Google to interact with Google doc (Calendar, Spreadsheet, etc) and everything runs correctly. However, I wonder if there is a framework that implements some model in HTML or an other web format to publish/visualize a calendar or a spreadsheet within a web page. My goal is to integrate a spreadsheet/calendar into a web page and then a user can modify the values of this spreadsheet/calendar.
Does it exist something similar to my request?
For spreadsheets, the Google answer Publishing: Embedding a spreadsheet in your blog or webpage explains what you have to do. Especially the last sentence is important:
If you want to embed a form in a
website or blog, click the More
Actions button at the top of the
editor, and select the 'Embed' option
from the drop-down menu.
But don't forget all the steps listed above this.
For Google Calendar, there's Embed on your Website - Google Calendar, another answer from Google, that even contains a slideshow that shows what you have to do.

Resources