Open saurav-bhagat opened 1 year ago
You'd normally use the google.script.run API, but I can't seem to compile and push ANYTHING with google.script.run - the result for me is 'ReferenceError' google is not defined.
I've attempted to use the gas-client library that this provides and, unfortunately, I'm either using it wrong (and it's side-stepping Typescript) or it's not working as desired.
Any news on how to communicate between "windows"?
Hi, it's my case. It's work for me with just call the api from sidebar
<Button
variant="outlined"
onClick={() => serverFunctions.openDialogMUI()}
>
Make SQL
</Button>
But how we can message the sidebar when modal is close, i have no idea yet =) maybe dispatch some action?)
Has anyone found a way to pass information between modal and sidebars?
I think this might be helpful https://github.com/enuchi/React-Google-Apps-Script/issues/209#issuecomment-1962322152
I am opening a modal Dialog from sidebar on a button click, as we perform some activity in dialog modal, I want to know that in sidebar code.
Or even when we close the dialog, is there any way to know that in sidebar?