My Stuff
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.
Comments
-
try: var csvFile = file.create({ name: 'data.csv', contents: codesList, folder: 123, fileType: 'PLAINTEXT', encoding: 'UTF-8' });
-
A csv file would be easy. It's just plain text you can generate in a script. I suppose you use the N/search module to get the data for your list to view in the Suitelet? Use the same data, iterate over the list, and create a string by concatenating the cells with ',' or '\t' (prefer tsv instead of csv). After each…
-
The person who drags the file onto the record, need to have at least edit permissions on the record itself, as besides dropping the file in the file cabinet, it also need to add it to the record. Therefore you need edit permissions. That's why you get the error. Check your roles and permissions in NetSuite.