Is there a way to include the appScript file into the template for your app?

I recently notice that when sharing my app as a template for other users to use and customize to there needs it doesn't include the appScript file used in the app. Instead the person that is copying the app needs to request access to the appScript file in my drive to be able to use this functionality that the script brings to the app. Is there a way to include the appScript file to the template such that it creates a copy of the appScript file for the app to use in the users drive, not needing to request access to my file? or Is there another way of sharing the app with the file making the setup user friendly and straight forward? 

When talking about the template I'm referring to 

https://www.appsheet.com/templates/A-basic-app-structure-for-creating-surveys-or-forms?appGuid=778ea... 

(This is just and example of template format I speak off ) 

Solved Solved
0 4 159
1 ACCEPTED SOLUTION

If you are referring to a Google AppScript, then unfortunately no, there is no way to have it automatically include when a user copies the app.  This is because it is NOT stored in the AppSheet app data space. 

However, there may be a way to copy the script code into a text document that IS copied with the app.  Then you would just need to include instructions for the user create their own script project and copy the script code

View solution in original post

4 REPLIES 4

If you are referring to a Google AppScript, then unfortunately no, there is no way to have it automatically include when a user copies the app.  This is because it is NOT stored in the AppSheet app data space. 

However, there may be a way to copy the script code into a text document that IS copied with the app.  Then you would just need to include instructions for the user create their own script project and copy the script code

That's unfortunate but thank you for letting me know I'll probably end up doing an text file with the instructions. Definitely would be nice to have a feature like this in the future to let clients and other people in the community set up your application with no need to touch code. 

I understand but do realize that Google AppScripts, while a Google product, are NOT an AppSheet product.  They are considered a third-party product where a single script can be used by MANY other apps and/or services.  

The scripts COULD BE payable services for which a client would need to subscribe and obtain proper PAID connection credentials to use the service.

It would be nice to have the option. While I do understand is not a product directly in the hierarchy off appSheet is still one of google which they should add support for, like they do sheets for databases. 

Top Labels in this Space