Hello everyone, I’m looking to create a custom but...
# suitescript
g
Hello everyone, I’m looking to create a custom button on the Sales Order (SO) record in NetSuite that, when clicked, will: 1. Open a pop-up dialog with selectable options. 2. Based on the selected option, trigger the email dialog to send an email. Has anyone implemented something similar? Any guidance or examples would be greatly appreciated! Thanks in advance!
a
The out of the box 'N/dialog' is very limited, you best bet will be something like sweetalert2 or similar. You will need to add an HTML field to the form and inject the sweetalert2 cdn url to have the library available and then go from there.
g
Thanks for your kind reply. I will have a go now.
c
You can do this with a suitelet. Have the button pop up a suitelet with your select options and add an email button.
☝️ 2