I'd like to import the contact details from a users Workspace account (phone, email etc.) and sync it with my data table for profiles in the app (table "People") who perform tasks and are referenced in other tables.
It's a similar problem to https://www.googlecloudcommunity.com/gc/AppSheet-Q-A/Ability-to-read-user-Attributes-from-G-Suite-us...
Solved! Go to Solution.
I haven't tested it yet, but the folks from the AppSheet Office Hours have posted a solution;
here:
Thereโs not a direct integration with Workspace User Directory today, but there are options for using the Admin SDK Directory Service and Apps Script to automatically pull your user directory into a Google Sheet, which you can then connect to one or multiple apps.
Additional instructions can be seen here.
As far as I know, there is no capability yet to easily perform this function. Note that Googles adoption of Appsheet into their ecosystem is only a couple years old. There was a lot of work done to transition AppSheet's assets to Google infrastructure. I have to believe that soon we will start to see more integration with the other Google Workspace tools - but it will take some time.
Unfortunately, for now you will need to find some alternative way to automate the syncing of the contact information if manual entry is not an option.
Google Scripts would be one option.
AppSheet does have the ability to use a Google Folder as a datasource and will pull in details about the files located in the targeted folder. I am not sure how this feature will react to exported contact information. You could try it out and see. It is extremely easy to setup. To add the table, click the "New Table" button and select the "Documents on Google Drive". See image below.
Thanks!
I will not prioritize this task now, but post the solution with App Script when I tackle it.
I haven't tested it yet, but the folks from the AppSheet Office Hours have posted a solution;
here:
Thereโs not a direct integration with Workspace User Directory today, but there are options for using the Admin SDK Directory Service and Apps Script to automatically pull your user directory into a Google Sheet, which you can then connect to one or multiple apps.
Additional instructions can be seen here.
User | Count |
---|---|
33 | |
30 | |
30 | |
19 | |
17 |