Chris Raitzyk
09/18/2025, 4:09 PMCeligo AI
09/18/2025, 4:09 PMAI generated answer (using internal Slack threads):Based on the conversations, it appears that you can attach a file to a custom record via CSV upload by setting the file on the existing customers. You can set a default value on the field to have it attached in the future. If you want to link to the same file no matter what, you can set it as a non-store field and it will be whatever you set in the default value. For existing customers, you can do a CSV upload to set the field internal id to that media item id. If you are using SuiteScript to create a transaction record from a custom record and want to get the file id from the custom record, you can use the following code:
javascript
myCustomRecord.getLineCount({sublistId:'mediaitem'})
This will give you the count of the media items attached to the custom record. You can then loop through the sublist to get the file ids.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/18/2025, 4:09 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.844360411
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836242795
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.835205197
Celigo AI
09/18/2025, 4:09 PM