Hi!
Could you advise me on the correct flow here? I need to add a custom button on the Job record type via a user event script and send an email passing some data from the current record.
Currently, I have created a user event script, added a button, and pointed to a client script where the action of the function is defined. However, when I try to import the 'N/render' module in my client script, the console shows an Uncaught Error: Load timeout for modules: N/render. Then I realized it's not available in the client script. How can I generate an email in this case?