Re: Link to run script

622 0
Showing results for 
Search instead for 
Did you mean: 
6 - Interface Innovator
6 - Interface Innovator

Hey all,

I’m experimenting with an idea but am not sure it’s possible (yet) and I would love to hear your input on whether this is doable or not.

I have a script that spits out custom reports. Is it possible to insert a button (or link/hyperlink?) into the report, to act as a button which would then run another script?

Thank you

1 Reply 1

Scripts can output hyperlinks. However, it is not possible to run a script from a hyperlink. Thus, it is not possible to run an Airtable script from another script.

You can use use one of the input methods after you spit out the report to ask the user what he wants to do next, then run that code. However, all the code needs to be in the same script.

There are creative situations where script writers have stored scripts outside of the script editor and then used eval.