Is it possible to have an action button do a HTTP POST followed by an HTTP GET?
I am currently doing GET and passing url parameters but the parameters may exceed the URL character limits.
Not currently unfortunately. It is on our TODO list though.
Okay, Thanks.
An action can set the value of a column though, and that can trigger a Google App Script perform the POST and GET. The only thing you canโt do is force a userโs AppSheet session to update and reflect the changes immediately.
Yes, true. What I am wanting is for the action button to go to a website immediately after returning from doing a POST.
Actually, come to think of it, what you suggest might actually work for me if I use two actions. Thanks @GreenFlux
Yeah, I think the new feature for multiple actions per workflow could help here. One action to write to the sheet (triggering the App Script), and one action to open the webpage. Hopefully the App Script can finish in time to update the server so the GET response can be displayed when the page first loads. You might want to add conformation dialog on the second action to slow down the user :).
Generally speaking, I donโt want to encourage using AppScript because it is something external, asynchronous and difficult to maintain along with the rest of the app.
I know we havenโt provided an alternative here. But Iโd like to gradually see us eliminate the need for using appscript
@praveen I agree that ideally, we shouldnโt need App Scripts at all. Iโve been very impressed with the speed with which the AppSheet team continues to deliver new features and I know this is on your radar.
I just wanted to offer an alternative, given the current limitations of AppSheet. And Iโve recently been learning a lot about App Scripts so Iโm always looking for a new project to build
User | Count |
---|---|
44 | |
29 | |
22 | |
20 | |
14 |