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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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