Hi all, I am trying to save an attachment to an online case form from a backend model, but the data isn't getting saved. As an alternative I tried using a suitelet to save the file to file cabinet first and saving the internal id of the file in a field in case record and then from a user event script that runs on case creation, I'll get the internal id of the file and use nlapiattachRecord and attach the file to case record. But as the file data is base 64 encoded i am unable to pass it to suitelet as it gives bad gateway error. Is there any other work around for this?