Best Practices
The intent of this post is to document certain Google Forms behavior as it relates to AppSheet, and create a Best Practices Guide by compiling input here from the community.
Please feel free to suggest edits and add links to other relevant posts.
Before we get into Best Practices, itโs important to understand a few things about Google Forms:
None of these changes interfere with the Form <-> Sheet
setup,
They DO break the AppSheet <-> Sheet
connection, and require regenerating the table. You can edit the options for a question without breaking the app, but any changes to the number of questions or their names will edit the sheet in a way that will require a table regeneration.
So, with all that in mind,
Remember that a future edit to the Google Form could break your app!
Send users a link to your form with values pre-filled from your app data!
https://docs.google.com/forms/d/e/1FAIpQLScZg*****CtCaw/viewform?usp=pp_url&entry.930286630=TEST1&entry.1876527609=TEST2
entry.########
goes with each AppSheet column you want to pre-fill, and swap out the TEST#
with "&[ColumnName]&"
. Or if itโs the last question in the string, "&[ColumnName]
.It will always link to a new sheet. The easiest option is add the response destination as a new table to the app, then set up an action to copy them over to the main table. This can also function as an approval/screening process to keep the main table data clean.
A client asked me to type up some Best Practices for Google Forms. I figured Iโd share it here and see what else we can come up with as a community.
One practice I have shared within my team is to always remember to re-launch Appsheet add-ons for Forms and again click โPREPAREโ and โLAUNCHโ whenever any update to a google form previously connected to AppSheet utilizing AppSheet add-ons for Forms.
By doing that, AppSheet will re-connect to the form with the new formโs updated information. Sometime people just looking for reasons (for example) why an update to a formโs Multiple Choice didnโt get updated to the list of Enum in AppSheet and start messing around with manual change the enum which will go back again to previous original Enum from the Forms and to overcome that, Iโve shared this practice.
Great tip, @Heru! I didnโt realize the add-on would auto-update Enum values in the app!
Iโve seen the add-on before and didnโt pay it any attention because I thought it was only a shortcut/launcher for Chrome like a lot of other add-ons. Thanks for pointing this out!
[EDIT]
Just found some more useful info on the Forms Add-On:
Itโs great topic you got here
and this discussion is as complement to the reference document, Since, I believed, only few topics were asking about Google Forms in this community and not all is available in the reference document.
And in addition also, if someone already gone ahead updating AppSheet in the editor and want to do something else other than re-launching the Add-Ons, than a manual changes need to be made to the connected sheet header note, like below:
Changing the EnumValues manually will change also in AppSheet.
I give this recommendation once to a person in this community since he was already gone ahead with many changes in the AppSheet editor. This is not a best practice and avoid taking this steps unless it is really necessary to do so.
hello do you app available to copy include the size of shirts and orders !
Thank you so much for sharing this @GreenFlux and @Heru
I would like to use Google Forms. For example:
Right now, our customers send E-Mails to us, if they have any claim, like a damaged part.
We donโt want to give our Clients access to our AppSheet App. It would be to much to tell them: โYou need a Google Account, or Dropbox, orโฆ and you have to sign into this Appโฆโ
But sending them a Link to a Google Form is way better.
Itโs also faster than AppSheet. If an App needs 5 Seconds to load up, the client would begin to think whatโs wrong. And he will end up saying: โSending an E-Mail is easier for me.โ
A hybrid would be: They send us an E-Mail, we copy paste the information in our AppSheet App and send the Google Form pre-filled link to the customer. In this Link will be all Information that he already send us via E-Mail. In the same time we could ask him to update missing information.
Would that be possible? Could he also add images via the Google Form?
Surely he can also add images through Google Form.
A โFile Responsesโ folder will be created where the google forms is on the Google Drive. I just had a discussion in below thread for displaying images from Google form.
I know Google Forms has an option to allow responders to edit their response, but I havenโt tried that with a form connected to an app. You could collect a new response though, and match it up by name or ID, then update the existing record.
This is a neat reference @GreenFlux for anyone integrating Google forms with AppSheet. Thank you very much and also thanks to @Heru for adding his insights.
@GreenFlux wrote:
Remember that a future edit to the Google Form could break your app!
FYI: Unstable column header in GSheet source for Google... - Google Cloud Community