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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Attaching files (mediaitems) and messages to a custom record
I've got to create a Message record and a File record, then attach them both to a custom record (on the Files and Messages sub lists)
I've been looking over the WSDL and am not seeing any promising fields. I see transaction and activity on message, but don't see how I could use them with a custom record as I need to specify the custom record type id as well as instance id. I see how i can add a file to a message, but not a file to a custom record.
If anyone has attached a message or file to a custom record and can point me in the right direction (or share a snippet of code) I would really appreciate it.
Steve Klett | Senior Developer
NetValue Technology
0