How to make a call from one Google Apps Script to a function in another?

Is there an easy way to make a call from one Google script application to a function in another?

I am writing two scripts, one of which should use functions from the other. I want the two to have different access permissions, so I do not want to put them in the same project.

I can not find any function like "require Xxx.gs" in the documentation.

I found this: Call functions from another "class" / file

But I get "xxx function not found" errors if I try to call a function from another file.

+4
source share
2 answers

, , libraries, , . ( , , script )

+5

, , URL- script urlFetch, myserviceurl? call = myfunction & param1 = x

+1

All Articles