Hi ,
I have requirement to connect NetSuite File Cabinet from Mule and access the files from NetSuite File Folders, rename the file etc. I could explore the MuleSoft provided NetSuite Connector but file integration API does not exists in the list.Please let me know the solution or alternate design approach for the same.
Thanks
Viji
Hi, @viji_winzet, MuleSoft's NetSuite Connector does have direct solution or workaround for your approach.
1) To access the files from NetSuite File Folders - Use GetRecord operation, and provide the internalId of the file.
2) To rename a file - (No direct operation through MuleSoft NetSuite Connector.) You can read the content of the file with the GetRecord operation as mentioned above, then using AddFile operation you can create a new file with the desired file name (which will result in the creation of a new file with a new internalId), and store the payload in the new file and then delete the old file using DeleteRecord operation.