Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Created a file using a custom workflow action on a button click. How to download it?
Hi, I've created a workflow that adds a button to sales orders. Clicking that button generates a .xls(xml)-file that is sent through e-mail. I've been trying to change it so it gets downloaded instead, but I can't figure out how to redirect the browser to the url of the file. This is mostly done in a custom workflow action.
I've managed to submit the file and return the URL, but window.location.href = xmlfileURL didn't work and I can't get nlapiSetRedirectURL to redirect to the file (external of RECORD/'file')
And a "go to record" action in the workflow can't lead to a file from what I can tell.
0