I am trying to add a pdf file to the file cabinet,...
# suitescript
r
I am trying to add a pdf file to the file cabinet, my restlet is receiving a base64 pdf string ie: data:application/pdf;base64,JVBERi0xLjUNJeLjz9MNCjE4IDAgb2JqDTw8 etc.. how can I upload this?
d
Have you tried using
N/file
and using
file.create
? Set name, fileType, contents, and folder. optionally isOnline