Hi, I'm looking to add a button into the button of...
# suitescript
a
Hi, I'm looking to add a button into the button of the quote email template that gives the customer the option to accept the quote and have it automatically converted to a sales order on button click. Is this possible? What would be the best way to do this?
l
Create a Suitelet and add a hyper link with parameter in your email, just think our loud.
a
Got it. So let's say I would pass in the quote id as the parameter, how would I then pass it back in with the post request?
Sorry, I'm somewhat new to this so this may be an uneducated question! Thanks for your help.
l
That will be a “GET” request instead of “POST”.
a
Whoops, my mistake. And how would I pass the parameter back with the GET request?
l
{YOR_SUITELET_URL}?parameter=123&parameter2=456
a
Got it, thank you so much for your help, will try this out!
b
keep in mind that this is the sort of thing where you want to hide information in your parameters since the suitelet url will have to be public
a
Good point. Thanks.