To add a "cancel" function to a button, do I need to create a client script and link to my suitelet?
c
creece
09/08/2021, 3:10 PM
Yeah add the button and have it call whatever your cancel is going to do. You'll need a client script for this.
👍 1
s
Slig
09/08/2021, 3:12 PM
thanks @creece
c
creece
09/08/2021, 3:14 PM
Typically you can just window.location = window.location and let the page refresh unless you have some parameters in the URL and in that case, you can resolve the suitelet and just do window.location = suitelet url
👍 1
s
Slig
09/08/2021, 3:15 PM
Interesting. Thanks.
I will see more about this. Thank you very much @creece